Chapter 6: Stage Coordinates (X and Y)
Navigate the 480×360 Scratch stage with precision using positive and negative x-y coordinates.
Lesson goal & core concept
Distinguish absolute positioning ("go to x, y") from relative movement ("change x / y by").
Center is (0, 0). Moving right increases x; moving left decreases x into negative numbers. Moving up increases y; moving down decreases y.
Scratch Stage Coordinate & Direction Explorer
Move the sliders or click anywhere on the stage to see live x (-240 to 240), y (-180 to 180), direction (-180° to 180°), and matching Scratch blocks.
Step-by-step practice
Work through these steps in the Scratch editor, predicting each result before clicking the green flag.
- Practice sending a sprite to all four quadrants: (+,+), (-,+), (-,-), (+,-).
- Use "change x by 6" and "change x by -6" for clean keyboard controls.
- Use "go to x: -180 y: -120" to reset a level reliably.
- Monitor live x position and y position reporters on stage while testing.
- When green flag clicked
- Go to x: -150 y: -100
- Glide 1 secs to x: 150 y: 100
Try it: Glides diagonally from the bottom-left quadrant to the top-right quadrant.
Mini challenge & next steps
Make a sprite patrol a rectangle connecting four exact coordinate corners.
FAQ
How long should I spend on "Chapter 6: Stage Coordinates (X and Y)"?
Aim for 15–20 minutes: read the concept, test the small example, modify one value to see what changes, and try the mini challenge.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.