Pause when losing focus

Pauses when focus is lost, restarts when focus is regained.

Authors and contributors to this community extension: Telstarboy.


When the game loses focus, either because you switch windows, open another tab in the browser or for any other reason, the game is paused and muted.

When focus is regained, the game continues.


This page is an auto-generated reference page about the Pause when losing focus extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.