ReferenceInput

mousemoveabs

Moves the game pointer to an absolute game-window position.

Syntax

mousemoveabs(x: number, y: number) -> ()

Also available as

mouse_move_abs

Parameters

ParameterTypeDescription
xnumberHorizontal position.
ynumberVertical position.

Description

Coordinates must be finite numbers. The origin is the top-left of the game view, not the top-left of the desktop. The operation uses the game input pipeline and does not grant control over other applications.

Example

mousemoveabs(20, 10)

These are Game executor contracts. Check build requirements and session lifetimes before using them.