hammerspoon2-docs
    Preparing search index...

    Function getCurrentScreen

    • Returns the screen that the mouse pointer is currently on.

      Returns HSScreen | null

      An HSScreen object for the display containing the cursor, or null if none can be determined.