setMousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Fixed params)
Line 12: Line 12:
| setMousePosition '''[x, y]''' |= Syntax
| setMousePosition '''[x, y]''' |= Syntax


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


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


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


}}
}}

Revision as of 09:43, 15 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.
Groups:
Uncategorised

Syntax

Syntax:
setMousePosition [x, y]
Parameters:
x: Number from 0 to 1
y: Number from 0 to 1
Return Value:
Nothing

Examples

Example 1:
setMousePosition [0.5, 0.5]

Additional Information

See also:
Aspect Ratio Management

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