event.movementY property returns the difference in the Y coordinate of the mouse pointer between the given event and the previous mousemove event.
currentEvent.movementY = currentEvent.screenY - previousEvent.screenY
Note: This property is read-only.
|Number||A number representing the horizontal coordinate of the mouse pointer relative to the position of the padding edge of the target node.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.