function GlobalMouseX()
Returns the absolute X position of the mouse on the display
Related:
GlobalMouseY
GetGlobalMouse