ctrlSetMousePosition: Difference between revisions
Jump to navigation
Jump to search
(Page Creation) |
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|version= 2.01 |Game version= | |version= 2.01 |Game version= | ||
|gr1= GUI Control |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 15: | Line 17: | ||
|s1= control [[ctrlSetMousePosition]] Position |Syntax= | |s1= control [[ctrlSetMousePosition]] Position |Syntax= | ||
|p1= control: [[Control]] | |p1= control: [[Control]] |PARAMETER1= | ||
|p2= Position: [[Array]] | |p2= Position: [[Array]] |PARAMETER2= | ||
|r1= [[Nothing]] |Return Value= | |r1= [[Nothing]] |Return Value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_control | |x1= <code>_control [[ctrlSetMousePosition]] [0.5, 0.5];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|seealso= |See Also= | |seealso= [[setMousePosition]] |See Also= | ||
}} | }} | ||
Line 34: | Line 36: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 16:28, 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]]