# How to Spawn Enemies in Progressive Waves in Scratch > Watch enemies-remaining and start the next wave when it hits 0. Learn how to spawn enemies in progressive waves in Scratch with clean block recipes, testing tips, and related guides. ## Minimal Working Block Recipe Watch enemies-remaining and start the next wave when it hits 0. Test this minimal version first, then tune numbers like speed, gravity, or timing to match your game feel. **Spawn Enemies in Progressive Waves script** - set [wave] to (1) - forever -> if <(enemies left) = (0)> then change [wave] by (1), broadcast [next wave] Try it: Escalating wave-based defense and shooter gameplay. ## Debugging Checklist & Next Steps If it behaves unexpectedly, verify initial variable resets on the green flag and check that continuous checks sit inside a forever loop. - [Related Deep-Dive Guide](/en/techniques/enemies/): Explore full mechanics and variations. - [All 120 Scratch How-To Recipes](/en/howto/): Return to the reverse lookup index. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/howto/wave-spawner/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)