# Game State Management (Title / Play / Pause / Over) > Control every screen and pause menu cleanly using one central "state" variable. Game State Management (Title / Play / Pause / Over) — Control every screen and pause menu cleanly using one central "state" variable. ## Core approach Instead of juggling 10 conflicting forever loops, wrap gameplay checks inside "if <(state) = (playing)> then" so pausing or ending is instant. - Define clear state names: "title", "playing", "paused", "gameover". - Broadcast "State Changed" whenever switching states. - Test transitioning Game Over → Title → Playing twice to verify clean resets. ## Pro tip & next steps Clean state management is the single biggest upgrade for medium-to-large Scratch projects. - [All Techniques](/en/techniques/): Browse more English guides in this section. - [Scratch Block Dictionary](/en/dictionary/): Look up any Scratch 3.0 block with examples. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/techniques/state-management/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)