setMousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed params)
m (Correct params)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Move (UI) mouse pointer to specified position of the screen. |= Description
| Move (UI) mouse pointer to specified position of the screen.
 
Values of '''x''' and '''y''' can be in the range from 0 to 1.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| setMousePosition '''[x, y]''' |= Syntax
| setMousePosition '''[x, y]''' |= Syntax


|p1= x: [[Number]] from 0 to 1 |= Parameter 1
|p1= [x, y]: [[Array]] |= Parameter 1
 
|p2= y: [[Number]] from 0 to 1 |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Aspect Ratio Management]] |= See also
| |= See also


}}
}}

Revision as of 15:22, 16 September 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. Values of x and y can be in the range from 0 to 1.
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