input
Last updated 11 months ago
This event is called whenever a key or mouse button is pressed.
getKeyCode(): int
Returns the keyCode of the key that was pressed.
keyCode
See for a list of all key codes and to what key they correspond.