-
Notifications
You must be signed in to change notification settings - Fork 0
Keyboard_check_pressed
hpgDesigns edited this page Aug 8, 2021
·
1 revision
NOTOC {{-}}
Gets whether a key has been pressed this step. When the user first presses a key it returns true, if the user has been pressing the key it returns false, but for keyboard_check it will return true.
- key, keyboard constant of which key to check the state of
Returns boolean (true or false) whether the key is in the pressed state.
Example of using the function.This is number 1