# y position — Scratch Block Guide > Reporter block that returns the sprite’s current vertical coordinate (-180 to 180). How to use the "y position" block in Scratch 3.0 (Motion Blocks): clear explanation, working block example, and debugging tips. ## What this block does Reporter block that returns the sprite’s current vertical coordinate (-180 to 180). Detect pits, ceiling hits, or when falling clones reach the bottom. - Category: Motion Blocks - Key tip: Useful for sorting layer order or triggering altitude-based events. ## 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 y position** - When green flag clicked - Forever - If <(y position) < (-160)> then - Go to x: (0) y: (160) Try it: Wraps a falling sprite back to the top when it nears the bottom edge. ## 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/y-position/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)