# \#gameloop

**URL:** https://discourse.threejs.org/tag/gameloop/1631.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Pause the gameloop when changing tab](https://discourse.threejs.org/t/pause-the-gameloop-when-changing-tab/68700)

<div class="topic-metadata">

**Author:** [@Deepak\_Saini\_VT](https://discourse.threejs.org/u/Deepak_Saini_VT)\
**Replies:** 2\
**Last updated:** [July 29, 2024, 11:38am UTC](https://discourse.threejs.org/t/pause-the-gameloop-when-changing-tab/68700 "2024-07-29T11:38:50Z")

</div>

I want to pause the gameloop when visibility is changed of the tab. But currently what’s happening is, if we change the visibility, game still continues to run in the background. Maybe according to me it is due to the ti…
