🚀
ArkyEdu GLOSAR TIC
RO Practice Lab
Algorithms, C++ & Scratch Grades 5–6 RO Term: Coordonate X/Y (-240..240) și Personaje (Sprite) în Scratch 3.0

Scratch 3.0 Stage Coordinates (X/Y) & Sprites

💬 Share on WhatsApp
📌 Quick Definition (Answer-First)

The Scratch 3.0 stage is a 480×360 pixel Cartesian grid centered at (X: 0, Y: 0). The X-axis moves sprites left and right (-240 to +240), while the Y-axis moves sprites down and up (-180 to +180).

How It Works & Why It Matters

Every Sprite has an X position, Y position, and Direction (90° right, 0° up, -90° left, 180° down).

For keyboard controls, changing X or Y directly prevents sprites from flipping upside down or drifting at awkward angles.

💻 Scratch Stage Boundaries
Center:     (X = 0, Y = 0)
Horizontal: X = -240 (left)  to  +240 (right)
Vertical:   Y = -180 (bottom) to +180 (top)

🏫 Classroom Example

Under "When green flag clicked", always initialize Score = 0 and "go to x: 0 y: -130" so every replay starts cleanly.

⚖️ Set X vs. Change X

"Set x" jumps to a fixed spot; "Change x" shifts relative to where the sprite currently stands.

⚠️ Common Mistake in Exams & Homework

Using "set x to 10" (teleports once) instead of "change x by 10" (moves smoothly step by step) inside arrow-key loops.

❓ Quick Questions & Answers

What are the width and height of the Scratch stage?
480 pixels wide by 360 pixels tall.

Related Glossary Terms

← Back to Full Glossary (A–Z)