Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

X2Input

Globals

X2Input

X2Input

Classes

Class: X2Input

Method: IsAltKeyDown

(method) X2Input:IsAltKeyDown()
  -> altKeyDown: boolean

Checks if the Alt key is currently pressed.

@return altKeyDowntrue if Alt is down, false otherwise.

Method: IsControlKeyDown

(method) X2Input:IsControlKeyDown()
  -> controlKeyDown: boolean

Checks if the Control key is currently pressed.

@return controlKeyDowntrue if Control is down, false otherwise.

Method: IsShiftKeyDown

(method) X2Input:IsShiftKeyDown()
  -> shiftKeyDown: boolean

Checks if the Shift key is currently pressed.

@return shiftKeyDowntrue if Shift is down, false otherwise.