Jump to navigation Jump to search
- Returns position of the mouse on the screen relative to UI Control in UI coordinates.
- GUI Control
- ctrlMousePosition control
- control: Control
- Return Value:
- Example 1:
_mousePos = ctrlMousePosition _ctrl;
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | CTRLMOUSEPOSITION]][[ Category: arma3dev: Scripting Commands | CTRLMOUSEPOSITION]]
- Posted on October 2, 2020 - 11:14 (UTC)
- ctrlMousePosition also do work with Controls within a Control Group. The return would be its position, relative to the parent position (ctrlParentControlsGroup).