JavaScript » Event » screenX

Syntax:
event.screenX

These properties return the horizontal/vertical position of the cursor relative to the screen, in pixels, at the time the event occured.