The offsetY attribute retrieves the y-coordinate of the mouse pointer with respect to the element firing the event.
Syntax
event.offsetY
Possible Values
This attribute is a read-only Number (long).
See Also