Arma 3 Scripting

setMousePosition

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Moves mouse pointer to specified position on the screen. x and y could be any number, but will be clipped so mouse never leaves the screen area.

Syntax

setMousePosition [x, y]

Parameters:

Returns: Nothing

Examples

Example 1

setMousePosition [0.5, 0.5];

See also

getMousePosition · ctrlSetMousePosition · ctrlMousePosition · ctrlMapCursor · reversedMouseY