Game paused when defocus

Hi all!

I've noticed that if I defocus or tab out of the game the whole thing pauses.
Is there a way to stop it pausing the game when it is defocussed?
Ideally I'd like everything to keep going as normal, as though the game had focus.

Thanks!
There is a script by KK20 called Prevent Deactivation
So in short you want your game to ignore windows? The point of the windows OS is for the game or program to pause when you are not on it, so the only true way to make it ignore it is not let the player move away from it, which can cause other problems (CTRL + ALT + DEL may not work for instance, so if your game locks up they will have to do a hard restart of the computer now).

Also anti-viruses may have a field day with a program doing that too.

Either way this will require a script, and that script will have to essentially say to the OS you can't do your job anymore my program is taking full priority.

I've moved this thread to GSSx Script Requests. Thank you.

There is a script by KK20 called Prevent Deactivation

Thank you, this is exactly what I was after.
Either way this will require a script, and that script will have to essentially say to the OS you can't do your job anymore my program is taking full priority.
Yes the script I mentioned works well. I've had no problems with it locking up so I can't speak of that except to say that I had had the game lock up from time to time as I make changes, but I was always able to click the close button with my mouse, I just haven't tested it in full screen, otherwise there have not been any issues. Moving in and out of the game screen has not been a problem.

Original thread: https://forums.rpgmakerweb.com/threads/game-paused-when-defocus.118572/