MouseEvent clientY Property in JavaScript
MouseEvent clientY Property in JavaScript
The clientY property is a read-only property and it is used to return vertical coordinate of the mouse pointer when a mouse event was triggered according to client area. Usually, the client area is the current window. For getting horizontal coordinate we use clientX property.
Syntax:-
Its syntax is:- event.clientY
Return:-
Its return is:- number denoting vertical coordinate of mouse pointer in pixels