Input

mousemoverel

Moves the mouse cursor relative to its current position.

Syntax

mousemoverel(x: number | integer, y: number | integer)

Arguments

NameTypeDescription
xnumber | integerAbsolute screen X coordinate.
ynumber | integerAbsolute screen Y coordinate.

Description

Moves the mouse cursor relative to its current position.

Call it with 2 parameter(s): x, y. The argument table explains which values are required and which ones only refine the behavior.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Example call with placeholder values.

mousemoverel(1, 1)