W3cubDocs

/Godot 3.1

InputEventWithModifiers

Inherits: InputEvent < Resource < Reference < Object

Inherited By: InputEventGesture, InputEventKey, InputEventMouse

Category: Core

Brief Description

Base class for keys events with modifiers.

Properties

bool alt
bool command
bool control
bool meta
bool shift

Description

Contains keys events information with modifiers support like Shift or Alt. See Node._input.

Tutorials

Property Descriptions

bool alt

Setter set_alt(value)
Getter get_alt()

State of the Alt modifier.

bool command

Setter set_command(value)
Getter get_command()

State of the Command modifier.

bool control

Setter set_control(value)
Getter get_control()

State of the Ctrl modifier.

bool meta

Setter set_metakey(value)
Getter get_metakey()

State of the Meta modifier.

bool shift

Setter set_shift(value)
Getter get_shift()

State of the Shift modifier.

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_inputeventwithmodifiers.html