Returns the current mouse pointer position in Hammerspoon screen coordinates. Hammerspoon coordinates have (0, 0) at the top-left of the primary display, with y increasing downward.
(0, 0)
y
An object with x and y number properties.
x
Returns the current mouse pointer position in Hammerspoon screen coordinates. Hammerspoon coordinates have
(0, 0)at the top-left of the primary display, withyincreasing downward.