Not much else needed to describe my question.
Develop games in your browser. Powerful, performant & highly capable.
I managed to do this with some JS code.
dropbox.com/scl/fi/69zhhyl1oqqn69039x237/WindowFocus.capx
Not sure if it will work on all platforms. You can try different event handlers instead of "onblur".
Hey, thanks a bunch! This will do nicely.