setMousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETMOUSEPOSITION]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETMOUSEPOSITION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETMOUSEPOSITION]]


| arma |= Game name


<h2 style="color:#000066">''''' setMousePosition ''[x, y]'''''</h2>
|2.91|= Game version
____________________________________________________________________________________________


| Move (UI) mouse pointer to specified position of the screen. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| setMousePosition '''[x, y]''' |= Syntax


'''[x, y]:''' [[Array]]
|p1= [x, y]: [[Array]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>setMousePosition [0.5, 0.5]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.91 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Move (UI) mouse pointer to specified position of the screen.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETMOUSEPOSITION]]
 
[[Category:Scripting Commands OFP Elite |SETMOUSEPOSITION]]
'''Example:'''
[[Category:Scripting Commands ArmA|SETMOUSEPOSITION]]
 
'''setMousePosition''' [0.5, 0.5]

Revision as of 00:24, 2 August 2006

-wrong parameter ("Arma") defined!-2.91
Hover & click on the images for description

Description

Description:
Move (UI) mouse pointer to specified position of the screen.
Groups:
Uncategorised

Syntax

Syntax:
setMousePosition [x, y]
Parameters:
[x, y]: Array
Return Value:
Nothing

Examples

Example 1:
setMousePosition [0.5, 0.5]

Additional Information

See also:
See also needed

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

Notes

Bottom Section