VN_fnc_wm_getMousePos
VN_fnc_wm_getMousePos
- get mousePosition and check it’s coordinates if it’s inside of a zone
- if mouse inside:
- set selected Function and Icon for usage in Eventhandler: “vn_fnc_wm_EH_MouseBUp”
- else:
- reset everything to default
- Set/Update of variable “vn_wm_SelectedFunction” & “vn_wm_SelectedIcon”
Syntax
[] call VN_fnc_wm_getMousePos;Parameters
Return value
TYPE - Return description
Examples
[
_CtrlCheckList, //More details in "vn_fnc_wm_init"
[
"\vn\ui_f_vietnam\ui\wheelmenu\img\ui_wm_selector_1_cal.paa",
"\vn\ui_f_vietnam\ui\wheelmenu\img\ui_wm_selector_1_hit_cal.paa"
]
] call vn_fnc_wm_getMousePos;