ctrlSetMousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|version=" to "|version1=")
m (Text replacement - " <dl class="command_description"> <!-- BEGIN Note Section --> <!-- END Note Section --> </dl>" to "")
Line 24: Line 24:
|seealso= [[setMousePosition]]
|seealso= [[setMousePosition]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>

Revision as of 16:52, 29 January 2021

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.01|2.01]]
Hover & click on the images for description

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 2.01]][[ Category: arma3dev: New Scripting Commands | CTRLSETMOUSEPOSITION]][[ Category: arma3dev: Scripting Commands | CTRLSETMOUSEPOSITION]]