Thanks R0J0hound! But how can i return this value to the events system?
Edit: Nevermind i did it this way:
-System - Phyton Compare
"Window.Caption" == "has focus"
Edit2: I put it in my game and it din't work, i put the py paste in the directory too, but nothing. Any ideia what i did wrong?
Edit3: LOL "enable phyton" was disable on my application...
Thank you so much R0J0hound!