screenY property

Gets the y-coordinate of the mouse pointer, relative to the upper-left corner of the screen.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.3

Syntax

JavaScript

p = object.screenY

Property values

Type: Integer

The y-coordinate.

Standards information

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientX
pageX
screenX
x

 

 

Show:
© 2014 Microsoft. All rights reserved.