mousemoveabs

Moves the pointer to a client position.

Syntax

Signature
mousemoveabs(X: number, Y: number) -> boolean

Aliases

This function has no aliases.

Parameters

ParameterTypeDescription
XnumberHorizontal client coordinate.
YnumberVertical client coordinate.

Returns

TypeDescription
booleanWhether the platform accepted the move event.

Notes

Each coordinate must be finite and between -32768 and 32767. Values are truncated to integers. A destination outside the client area is rejected.

Example

Luau
local Result = mousemoveabs(10, 10)
print(Result)