# (x position) of (Sprite1) — Scratch Block Guide > Reads another sprite’s coordinates, direction, costume, size, or local variable—or the Stage’s backdrop. How to use the "(x position) of (Sprite1)" block in Scratch 3.0 (Sensing Blocks): clear explanation, working block example, and debugging tips. ## What this block does Reads another sprite’s coordinates, direction, costume, size, or local variable—or the Stage’s backdrop. Let an enemy check the player’s x position, or align a weapon sprite to the player. - Category: Sensing Blocks - Key tip: Always reads the original sprite’s values, not a specific clone’s. ## 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 (x position) of (Sprite1)** - When green flag clicked - Forever - Go to x: ((x position) of (Player)) y: (((y position) of (Player)) + (30)) Try it: Floats a crown or HP bar 30 pixels above the Player sprite. ## Related block guides Explore other blocks in the same category or return to the full English Block Dictionary. - [Back to Sensing Blocks](/en/dictionary/sensing/): See the overview and patterns for Sensing 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/sensing/sensing-of/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)