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

boolaltfalse
boolcommandfalse
boolControlfalse
boolmetafalse
boolshiftfalse

Property Descriptions

Defaultfalse
Setterset_alt(value)
Getterget_alt()

State of the Alt modifier.


Defaultfalse
Setterset_command(value)
Getterget_command()

State of the Command modifier.


Defaultfalse
Setterset_control(value)
Getterget_control()

State of the Ctrl modifier.


Defaultfalse
Setterset_metakey(value)
Getterget_metakey()

State of the Meta modifier.


Defaultfalse
Setterset_shift(value)
Getterget_shift()

State of the Shift modifier.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:33:25. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.