Posted: Tue Mar 30, 2021 8:16 am Post subject: Lua -> Detect game window focused or not focusing on game
Hello. I'm a bit stuck what to code next to detect the game if minimized or not focusing in game window. The plan is when i press F2, if the game window is not focused on or minimized, the script will not run.
If i press F2 and the game window is focused (inside game), the script will run.
Thank you so much! <3
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum