Preview
Client-side function

setCursorPosition

This function sets the current position of the mouse cursor.

Syntax

bool setCursorPosition ( int cursorX, int cursorY )

Returns

Returns true if the position has been successfully set, false otherwise.

Examples