KeyPressedEvent
Gets called when a key is pressed.
Extends
Methods
cancel()
cancel():
void
Cancels the event.
Returns
void
Inherited from
getKeyCode()
getKeyCode():
number
Gets the key code of the key that was pressed.
Returns
number
the key code of the key that was pressed.
isCancelled()
isCancelled():
boolean
Returns
boolean
If the event is cancelled or not.
Inherited from
Last updated