keyboard_check_pressed(key)
From ENIGMA
Description
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.
Parameters
| Parameter | Description |
|---|---|
| key | : keyboard constant of which key to check the state of |
Return Values
boolean: Returns boolean whether the key is in the pressed state.
Example Call
// Example of using the function.