# Principle behind pausing a game

**URL:** <https://forum.kirupa.com/t/principle-behind-pausing-a-game/253016>\
**Category:** programming\
**Created:** [February 26, 2008, 2:28pm UTC](https://forum.kirupa.com/t/principle-behind-pausing-a-game/253016 "2008-02-26T14:28:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fw2803](https://avatars.discourse-cdn.com/v4/letter/f/e5b9ba/32.png) [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Post date:** [February 26, 2008, 2:28pm UTC](https://forum.kirupa.com/t/principle-behind-pausing-a-game/253016/1 "2008-02-26T14:28:22Z")

</div>

Hi all

I’ve been trying to add a pause function to my game. I’ve read tutorials saying that I should refer the player to a new frame to pause the game. I’ve seen programmers using \_visible variable to toggle a message and pause the game in the same frame as the game.

**What is the principle lying behind such pausing functions?** Is there some built in functions?

Thanks.
