# Show HN: Interact with inactive macOS windows without selecting the window first

> Source: <https://github.com/dainank/apple-click-through>
> Published: 2026-07-22 16:38:21+00:00

macOS requires users to 'select' a window first before being able to interact with UI elements within. This leads to more clicks, and I personally found this tedious. Furthermore, this behavior was inconsistent, with some applications actually supporting 'Click Through'.

I was not able to find any solutions online without drastically changing the behavior of the OS. In the end I found Hammerspoon and via AI, quickly put together a neat script that seems to work flawlessly (I have also already tested it works on the beta of Golden Gate).

This script enables click through on macOS, allowing you to click UI elements inside inactive windows without clicking the window first, solving the aforementioned problem.

Feel free to try it out and submit improvements. I submitted this on HN since I figured some users are looking for something similar since a few years.

Comments URL: [https://news.ycombinator.com/item?id=49009557](https://news.ycombinator.com/item?id=49009557)

Points: 1

# Comments: 0
