Number lines
A coordinate uses a number line in each direction.
Curriculum topic
Coordinates describe position. A screen is a map made from numbers, and every object needs a way to answer: Where am I?
Scratch coordinate map
The centre gives every point a shared origin: x: 0, y: 0.
Why it matters
Coordinates connect number lines to visible movement. They let students predict where an object will go, define boundaries, compare positions, and debug a map instead of moving sprites by guesswork.
Real-world connection
Maps, screen layouts, robot navigation, drones, and computer vision all need a representation of position. This first topic does not teach those advanced systems; it establishes the idea that returns inside them.
The connection shows where the idea returns; it does not claim every advanced application is taught in this first topic.
Math and logic kernel
A coordinate uses a number line in each direction.
The sign tells us which side of the origin a point occupies.
The x value controls left and right; y controls down and up.
Distance moved can be described by comparing a before and after value.
The point x: 0, y: 0 gives the screen a shared reference point.
Small examples
Place a player at x: -180, y: -100 for every test.
Change x while keeping y unchanged.
Change y while keeping x unchanged.
Compare two positions to decide left/right and above/below.
Program connections
Beginner-friendly programming through original games, animations, simulations, and interactive stories.
Commands, sensors, simple electronics, simulations, and physical systems organized around Sense, Decide, Act.
A future bridge from visual programming to Lua, 3D objects, events, and larger game systems.
A future practical and critical program about patterns, predictions, prompts, limits, and human judgment.
Common mistakes
The character moves sideways when the intended movement was vertical.
A positive change moves in the opposite direction from the one predicted.
A test gives different results because the sprite was never reset.
The code changes position repeatedly without checking stage boundaries.
Where a sprite faces is not the same as where it is located.
Extra movement blocks hide a problem instead of inspecting the current x and y values.
Lesson and projects
Build a fast chase game with known positions, collision rules, win and loss states, and reliable restart behaviour.
Open projectNavigate a space taxi between coordinate-based pickups and destinations.
Open projectCollect drifting space chickens while tracking several positions and avoiding danger zones.
Open project