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 false
bool command false
bool control false
bool meta false
bool shift false

Description

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

Tutorials

Property Descriptions

Default false
Setter set_alt(value)
Getter get_alt()

State of the Alt modifier.


Default false
Setter set_command(value)
Getter get_command()

State of the Command modifier.


Default false
Setter set_control(value)
Getter get_control()

State of the Ctrl modifier.


Default false
Setter set_metakey(value)
Getter get_metakey()

State of the Meta modifier.


Default false
Setter set_shift(value)
Getter get_shift()

State of the Shift modifier.