Lesson

Scratch Skills: XY

Big Idea: In this video, we dive into Scratch’s XY coordinate system. The XY coordinate system allows us to describe any point on the Scratch stage using two numbers: an X coordinate, which represents our horizontal (left/right) position on the state, and a Y coordinate, which represents our vertical (up/down) position on the stage. Using XY coordinates allows us to have precise control over the position and location of our sprites.

Blocks used: go to x/y, glide 1 secs to x/y, change x by _, change y by _, set x to _, set y to _. 

Your challenge: Program a sprite that can be moved up, down, left or right by using arrow keys to change XY coordinates.

 

0 Comments
Inline Feedbacks
View all comments