Skip to content

Mojo input keyboarddevice keyreleased

mojo:mojo.input.KeyboardDevice.KeyReleased

Method KeyReleased:Bool( key:Key )#

Checks if a key was released.

Returns true if key was released since the last call to KeyReleased with the same key.

If key is a raw key, the state of the key as it is physically positioned on US keyboards is returned.

Parameters
key key Key to check.