x
property of the EVENT object. Returns the X coordinate of the mouse cursor relative to the parent object or window.
window.event.x