getMousePosition

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.54
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.54

Description

Description:
Returns mouse position in UI coordinates.

Syntax

Syntax:
getMousePosition
Return Value:
Array - position in format [x, y], where x and y are UI coordinates

Examples

Example 1:
_pos = getMousePosition;

Additional Information

Multiplayer:
-
See also:
setMousePositionctrlMapCursor

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section