isMouseRolledOverInstructionalButtons
IS_MOUSE_ROLLED_OVER_INSTRUCTIONAL_BUTTONS0x3D9ACB1EB139E702The GTA V native IS_MOUSE_ROLLED_OVER_INSTRUCTIONAL_BUTTONS of the HUD namespace, as LS:MP client scripts call it: the global function isMouseRolledOverInstructionalButtons, in JavaScript and in Lua.
isMouseRolledOverInstructionalButtons(): booleanisMouseRolledOverInstructionalButtons(): booleanUsage
JavaScript
const result = isMouseRolledOverInstructionalButtons();Lua
local result = isMouseRolledOverInstructionalButtons()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns TRUE if mouse is hovering above instructional buttons. Works with all buttons gfx, such as popup_warning, pause_menu_instructional_buttons, instructional_buttons, etc. Note: You have to call TOGGLE_MOUSE_BUTTONS on the scaleform if you want this native to work.
Reference
- Namespace
- HUD HUD
- In the game
BOOL IS_MOUSE_ROLLED_OVER_INSTRUCTIONAL_BUTTONS()- Hash
0x3D9ACB1EB139E702- Formerly
_IS_MOUSE_CURSOR_ABOVE_INSTRUCTIONAL_BUTTONS