GetCursorX
Gets the X-coordinate of the mouse cursor on the screen.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
GetCursorX | System Info | Synchronous | Supported | Supported | Supported | Not supported |
Syntax

This function takes no parameters.
Returned value
This function returns the X-coordinate of the cursor on the screen, or −1 if an error occurs.
Examples
Tag Name | Expression |
---|---|
GetCursorX( ) // Returned value = 1024 |