The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
movementY property
Returns the difference in vertical position (in screenY units) since the last mousemove (or pointermove) event.
Syntax
y = mouseEvt.movementY
Property values
Type: long
Change in y pointer position since last mousemove / pointermove
Standards information
Remarks
The movementX and movementY attributes are valid whether or not the page is in pointer lock state.
See also
Show: