SetCursorPos function Null safety user32
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) {
final _SetCursorPos = _user32.lookupFunction<Int32 Function(Int32 X, Int32 Y),
int Function(int X, int Y)>('SetCursorPos');
return _SetCursorPos(X, Y);
}