SetCursorPos

[DllImport("user32.dll", SetLastError = true)]
public static extern bool SetCursorPos(
   int X,
   int Y
);

Microsoft documentation: Link

Last updated