A
Boolean
system variable that's true
if any key is currently pressed and false
if not.Examples
Notice any errors or typos? Please let us know. Please feel free to edit src/events/keyboard.js and open a pull request!
Related References
key
A String system variable that contains the value of the last key typed.
keyCode
A Number system variable that contains the code of the last key typed.
keyIsDown
Returns true if the key it’s checking is pressed and false if not.
keyIsPressed
A Boolean system variable that's true if any key is currently pressed and false if not.