Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
event-get-mouse-y
Gets the Y coordinate of the mouse from a mouse event.
Parameter
Type
Description
self
event
The mouse event object.
container
string
The coordinate system to use: viewport, content-box, page, offset, or relative to the selected element.
return
number
The Y coordinate of the mouse, or nil if not available.