isScancodePressed: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = isScancodePressed | ||
|side = client | |||
|type = function | |type = function | ||
| | |games = iii vc sa iv | ||
| | |desc = fetch the status of a scancode key being pressed | ||
| | |arg1 = bool scanCodeKey The scancode for the key. | ||
|return = bool a boolean, representing whether the scancode key is pressed down | |||
| | |freturn = void | ||
| | |||
}} | }} |
Latest revision as of 20:36, 19 November 2022
Function
Client Only
Online and Offline
Available since Client 1.0.0
bool isScancodePressed(bool scanCodeKey)
The isScancodePressed function is used to fetch the status of a scancode key being pressed.
Parameters
1) | bool | scanCodeKey | The scancode for the key. |
Return
bool | A boolean, representing whether the scancode key is pressed down. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Client Related
bindKey
isKeyDown
isScancodePressed
unbindAllKeys
unbindKey