ctrlSetMousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "_{10,} " to "")
Line 6: Line 6:


|gr1= GUI Control |GROUP1=
|gr1= GUI Control |GROUP1=
____________________________________________________________________________________________


|descr= Similar to [[setMousePosition]] but relative to the given control. |Description=
|descr= Similar to [[setMousePosition]] but relative to the given control. |Description=
Line 13: Line 12:


|pr= |Problems=
|pr= |Problems=
____________________________________________________________________________________________


|s1= control [[ctrlSetMousePosition]] Position |Syntax=
|s1= control [[ctrlSetMousePosition]] Position |Syntax=
Line 21: Line 19:


|r1= [[Nothing]] |Return Value=
|r1= [[Nothing]] |Return Value=
____________________________________________________________________________________________


|x1= <code>_control [[ctrlSetMousePosition]] [0.5, 0.5];</code> |Example 1=
|x1= <code>_control [[ctrlSetMousePosition]] [0.5, 0.5];</code> |Example 1=
____________________________________________________________________________________________


|seealso= [[setMousePosition]] |See Also=
|seealso= [[setMousePosition]] |See Also=

Revision as of 01:39, 17 January 2021

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version |?]]
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 ]][[ Category: arma3dev: New Scripting Commands | CTRLSETMOUSEPOSITION]][[ Category: arma3dev: Scripting Commands | CTRLSETMOUSEPOSITION]]

Bottom Section