screenX


screenXnumberRead-only

Gets the distance in pixels between the pointer and the left edge of the screen or screens.

The screen refers to the physical screen or screens. Therefore, two clicks on the same physical point of the screen return the same screenX values even if the page is scrolled horizontally in the meantime. But two clicks on the same point on the page return different screenX values if the page is scrolled horizontally in the meantime.

Coordinate Reference

Was this helpful?
Yes
No