mousemoverel
Moves the game pointer by a relative offset.
Syntax
mousemoverel(x: number, y: number) -> ()
Also available as
mouse_move_rel
Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | Horizontal delta. |
y | number | Vertical delta. |
Description
Coordinates must be finite numbers. Positive x moves right; positive y moves down. This adds a delta to the game’s input position. The operation uses the game input pipeline and does not grant control over other applications.
Example
mousemoverel(20, 10)
These are Game executor contracts. Check build requirements and session lifetimes before using them.
