# change y by (10) — Scratch Block Guide > Moves the sprite vertically (positive = up, negative = down) without changing x. How to use the "change y by (10)" block in Scratch 3.0 (Motion Blocks): clear explanation, working block example, and debugging tips. ## What this block does Moves the sprite vertically (positive = up, negative = down) without changing x. Drives gravity, jumping arcs, falling items, and vertical scrolling. - Category: Motion Blocks - Key tip: For realistic platformer jumps, change y by a velocity variable rather than a fixed number. ## 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 change y by (10)** - When green flag clicked - Repeat (10) - Change y by (8) - Repeat (10) - Change y by (-8) Try it: The sprite hops up 80 pixels and returns to its starting height. ## Related block guides Explore other blocks in the same category or return to the full English Block Dictionary. - [Back to Motion Blocks](/en/dictionary/motion/): See the overview and patterns for Motion 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/motion/change-y/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)