# forever — Scratch Block Guide > Repeats the enclosed blocks continuously (~30 times per second) until stopped. How to use the "forever" block in Scratch 3.0 (Control Blocks): clear explanation, working block example, and debugging tips. ## What this block does Repeats the enclosed blocks continuously (~30 times per second) until stopped. Forms the main game loop for controls, physics, and collision checks. - Category: Control Blocks - Key tip: Notice the flat bottom—no block can snap underneath a forever loop. ## Working Scratch example Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it. **Example using forever** - When green flag clicked - Forever - If then - Change x by (5) Try it: Checks keyboard input smoothly throughout the entire game. ## Related block guides Explore other blocks in the same category or return to the full English Block Dictionary. - [Back to Control Blocks](/en/dictionary/control/): See the overview and patterns for Control Blocks. - [Scratch Block Dictionary (All Categories)](/en/dictionary/): Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/control/forever/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)