JavaScript Window screenX
JavaScript Window screenX
The screenX property is used to return the horizontal (x) coordinate of a window. It is relative to the screen. Its similar properties are screenTop Property, screenLeft Property, and screenY Property.
Syntax:-
Its syntax is:- window.screenX
Return:-
Its return is:- horizontal position in pixels of the window relative to the screen.