mousemoverel
Moves the pointer by a relative offset.
Syntax
Signature
mousemoverel(X: number, Y: number) -> booleanAliases
This function has no aliases.
Parameters
| Parameter | Type | Description |
|---|---|---|
X | number | Horizontal delta in client pixels. |
Y | number | Vertical delta in client pixels. |
Returns
| Type | Description |
|---|---|
boolean | Whether the platform accepted the move event. |
Notes
Each delta must be finite and between -32768 and 32767. Values are truncated to integers. A resulting position outside the client area is rejected.
Example
Luau
local Result = mousemoverel(10, 10)
print(Result)