hammerspoon2-docs
    Preparing search index...

    Function setRelativePosition

    • Moves the mouse pointer to a position relative to the screen it is currently on.

      Parameters

      • x: number

        Horizontal offset from the current screen's left edge.

      • y: number

        Vertical offset from the current screen's top edge.

      Returns void