mousemoveabs Synchronous
Move the pointer to the supplied absolute coordinates. Use it when a local input interaction needs a known pointer destination. This changes the position without pressing a mouse button.
Luau
mousemoveabs(x: number, y: number) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | Destination horizontal coordinate. |
y | number | Destination vertical coordinate. |
Returns
()This function returns no values.
Example
Luau
-- Use a test UI where this position is appropriate.
if isrbxactive() then
mousemoveabs(100, 100)
end