isUsingCursor
IS_USING_CURSOR0x13337B38DB572509The GTA V native IS_USING_CURSOR of the PAD namespace, as LS:MP client scripts call it: the global function isUsingCursor, in JavaScript and in Lua.
isUsingCursor(control: number): booleanisUsingCursor(control: integer): booleanUsage
JavaScript
const result = isUsingCursor(control);Lua
local result = isUsingCursor(control)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
control | int | number | integer | see isControlEnabled |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Controls PAD
- In the game
BOOL IS_USING_CURSOR(int control)- Hash
0x13337B38DB572509- Formerly
_IS_INPUT_JUST_DISABLED_IS_USING_KEYBOARD_2