Input.isKeyUp

Check if a given key is up.

class Input
static final
bool
isKeyUp
(
uint keyCode
,
bool checkPrevious = false
)

Parameters

keyCode uint

The code of the key to check.

checkPrevious bool

Whether or not to make sure the key was up last frame.

Meta