MouseEvent screenY Property in JavaScript
MouseEvent screenY Property in JavaScript
The screenY property is a read-only property and it is used to return vertical coordinate of mouse pointer when an event was triggered according to users computer screen. For getting the same horizontal coordinate, we use screenX property.
Syntax:-
Its syntax is:- event.screenY
Return:-
Its return is:- number denoting vertical coordinate of mouse pointer in pixels