ctrlSetMousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- BEGIN Note Section --> <!-- END Note Section --> </dl>" to "")
m (Text replacement - " *\|Problems= * " to " ")
Line 11: Line 11:
|mp= |Multiplayer Behaviour=
|mp= |Multiplayer Behaviour=


|pr= |Problems=
|pr=


|s1= control [[ctrlSetMousePosition]] Position
|s1= control [[ctrlSetMousePosition]] Position

Revision as of 15:53, 7 February 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]]