Input event

input

This event is called whenever a key or mouse button is pressed.

getKeyCode(): int

Returns the keyCode of the key that was pressed.

See KeyCodes for a list of all key codes and to what key they correspond.

Last updated