hammerspoon2-docs
    Preparing search index...

    Function absolutePosition

    • 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.

      Returns Record<string, number>

      An object with x and y number properties.