# How to Add Parallax Depth with Multi-Speed Layers in Scratch > Scroll distant hills slowly (-1) and foreground ground faster (-5). Learn how to add parallax depth with multi-speed layers in Scratch with clean block recipes, testing tips, and related guides. ## Minimal Working Block Recipe Scroll distant hills slowly (-1) and foreground ground faster (-5). Test this minimal version first, then tune numbers like speed, gravity, or timing to match your game feel. **Add Parallax Depth with Multi-Speed Layers script** - Far layer: change x by (-1) - Near layer: change x by (-5) Try it: Instant 2D depth illusion. ## 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/advanced/): Explore full mechanics and variations. - [All 120 Scratch How-To Recipes](/en/howto/): Return to the reverse lookup index. Updated: 2026-11-24 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/howto/parallax-bg/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)