InputEventWithModifiers

Inherits: InputEvent < Resource < Reference < Object

Inherited By: InputEventGesture, InputEventKey, InputEventMouse

Base class for keys events with modifiers.

Description

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

Tutorials

Properties

bool

alt

false

bool

command

false

bool

control

false

bool

meta

false

bool

shift

false

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.