hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

event-get-mouse-x

Gets the X 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 X coordinate of the mouse, or nil if not available.