AcediaDocumentation

mousemoveabs

Moves the virtual cursor to Roblox viewport coordinates.

Sets a virtual cursor that the Roblox client reports in place of the real one, for example through UserInputService:GetMouseLocation(). The system pointer does not move. The virtual cursor stays active for 5 seconds after the last mousemoveabs or mousemoverel call, then Roblox reports the real pointer again. Coordinates are Roblox viewport pixels, not screen coordinates.

Acedia draws the virtual cursor on screen; see Virtual cursor.

mousemoveabs(x: number, y: number): ()

Parameters

ParameterTypeDescription
xnumberHorizontal viewport pixel coordinate.
ynumberVertical viewport pixel coordinate.

On this page