SetCursorPos function user32

int SetCursorPos(
  1. int X,
  2. int Y
)

Moves the cursor to the specified screen coordinates. If the new coordinates are not within the screen rectangle set by the most recent ClipCursor function call, the system automatically adjusts the coordinates so that the cursor stays within the rectangle.

BOOL SetCursorPos(
  int X,
  int Y
);

Implementation

int SetCursorPos(int X, int Y) => _SetCursorPos(X, Y);