input.is_key_down( key_code )
Description
Determines whether a key is down at the time the function is called.
Arguments
| Argument | Type | Description |
|---|---|---|
| key_code | number | virtual key code |
Example
Returns
boolean - true if the key is down, false otherwise.
Determines whether a key is down at the time the function is called.
| Argument | Type | Description |
|---|---|---|
| key_code | number | virtual key code |
boolean - true if the key is down, false otherwise.