Mac App: Check if mouse cursor outside the window?

ThoPelThoPel GermanyMember, PRO Posts: 184
edited August 2015 in Working with GS (Mac)

I'm searching for a solution to figure out if the mouse cursor is within the window or outside.

I tried different solution (in preview, distributed *.app, *.apk), e.g.
1.) Full screen actors with rules like Mouse Inside or Mouse Outside (The behaviors function only when switching between actors within the window.)
2.) Mouse Position X >= 1280 <= 1 (When the mouse is moving too fast, the Position X remains partially at 30px or 1260px)
3.) Small "border"-actors around the window. (When the mouse is moving too fast, the borders do not capture the mouse cursor movement.)

Nothing is working :neutral:

Small example attached.


Sign In or Register to comment.