GlobalMouseX ( )

Returns the absolute x position of the mouse on the display.

Note: See also GlobalMouseY for absolute Y position and GetGlobalMouse to get both
Example: