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.

Syntax
Luau
mousemoveabs(x: number, y: number) -> ()

Parameters

Function parameters
ParameterTypeDescription
xnumberDestination horizontal coordinate.
ynumberDestination vertical coordinate.

Returns

()

This function returns no values.

Example

Example
Luau
-- Use a test UI where this position is appropriate.
if isrbxactive() then
    mousemoveabs(100, 100)
end
Kawaii documentation