VINDICTA.TOP
Input · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

mousemoveabs

Moves the mouse cursor to an absolute screen position.

function mousemoveabs(xxnumberAbsolute X coordinate in screen pixels.: number, yynumberAbsolute Y coordinate in screen pixels.: number): ()

Usage

Move to screen centre
local vp = workspace.CurrentCamera.ViewportSize
mousemoveabs(vp.X / 2, vp.Y / 2)