Stores information about mouse, keyboard, and touch gesture input events. This includes information about which modifier keys are pressed, such as Shift or Alt. See Node._input.
State of the Alt modifier.
Automatically use Meta (Cmd) on macOS and Ctrl on other platforms. If true
, ctrl_pressed and meta_pressed cannot be set.
State of the Ctrl modifier.
State of the Meta modifier. On Windows and Linux, this represents the Windows key (sometimes called "meta" or "super" on Linux). On macOS, this represents the Command key.
State of the Shift modifier.
Returns the keycode combination of modifier keys.
On macOS, returns true
if Meta (Cmd) is pressed.
On other platforms, returns true
if Ctrl is pressed.