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

bool alt = false

  • void set_alt ( bool value )

  • bool get_alt ( )

State of the Alt modifier.


bool command = false

  • void set_command ( bool value )

  • bool get_command ( )

State of the Command modifier.


bool control = false

  • void set_control ( bool value )

  • bool get_control ( )

State of the Ctrl modifier.


bool meta = false

  • void set_metakey ( bool value )

  • bool get_metakey ( )

State of the Meta modifier.


bool shift = false

  • void set_shift ( bool value )

  • bool get_shift ( )

State of the Shift modifier.