ctrlMousePosition: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= arma3 | |game1= arma3 |
Revision as of 23:04, 22 January 2021
Description
- Description:
- Returns position of the mouse on the screen relative to UI Control in UI coordinates.
- Groups:
- GUI Control
Syntax
- Syntax:
- ctrlMousePosition control
- Parameters:
- control: Control
- Return Value:
- Array
Examples
- Example 1:
_mousePos = ctrlMousePosition _ctrl;
Additional Information
Notes
-
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
- Posted on October 2, 2020 - 11:14 (UTC)
- Dscha
- ctrlMousePosition also do work with Controls within a CT_CONTROLS_GROUP. The return would be its position, relative to the parent position (ctrlParentControlsGroup).