ctrlSetMousePosition: Difference between revisions
Jump to navigation
Jump to search
m (fixed example) |
mNo edit summary |
||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_control ctrlSetMousePosition [0.5, 0.5];</code> |Example 1= | |x1= <code>_control [[ctrlSetMousePosition]] [0.5, 0.5];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:24, 26 September 2020
Description
- Description:
- Similar to setMousePosition but relative to the given control.
- Groups:
- GUI Control
Syntax
- Syntax:
- control ctrlSetMousePosition Position
- Parameters:
- control: Control
- Position: Array
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetMousePosition [0.5, 0.5];
Additional Information
- See also:
- setMousePosition
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
[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | CTRLSETMOUSEPOSITION]][[ Category: arma3dev: Scripting Commands | CTRLSETMOUSEPOSITION]]