Gets the y-coordinate of the mouse pointer, relative to the upper-left corner of the screen.
Property of dom/MouseEventdom/MouseEvent
Note: This property is read-only.
var yCoordinate = event.screenY;
Returns an object of type NumberNumber
The Y coordinate of the mouse cursor.
Screen coordinates depend on document zoom level. At 200% magnification, some user agents may report the “logical” position of a pixel as half of the distance of the same position at 100% zoom.
- DOM Level 3 Events
- Working Draft
Mozilla Developer Network : [event.screenY Article]
Microsoft Developer Network: [event.screenY Article]