Skip to content
Desktop inputOverview

mousemoveabs

Represents absolute mouse pointer movement.

Details#

Moves the desktop cursor to pixel coordinates on the primary screen. Coordinates are clamped to screen bounds; they are not Roblox viewport coordinates or normalized 0…65535 inputs.

Examples#

Example

Luau
if iswindowactive() then mousemoveabs(100, 100) end