A short tutorial on how we can pause the game if the player minimizes the game’s window, or Alt+Tabs out of the game. This tutorial REQUIRES C++.
Disclaimer: I have only tried this method for desktop PIE (Windows and Linux) and a packaged game, not multiplayer games nor on other devices such as mobile (this should still work but I cannot guarantee whether or not it will)!
https://dev.epicgames.com/community/learning/tutorials/aVxW/unreal-engine-pause-game-in-background
1 Like