ctrlSetMousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|Problems= * " to " ")
m (Text replacement - " *\| *Multiplayer Behaviour *= * " to " ")
Line 9: Line 9:
|descr= Similar to [[setMousePosition]] but relative to the given control.
|descr= Similar to [[setMousePosition]] but relative to the given control.


|mp= |Multiplayer Behaviour=
|mp=


|pr=
|pr=

Revision as of 17:28, 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]]