Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

2. Percorri la passerella


In the last step, you should have opened the starter project and signed in. If you haven’t done this yet, pause this video and go back to the previous step.

In this video, you will learn how to use the "go to" and "glide" movement blocks to move the sprite around the stage. Watch this video to learn how to do it, then try it on your own. The starter project already contains the sprite you'll use to create the fashion walk. You'll have time later during the club to change the sprite if you would like. For the fashion walk, the sprite needs to walk onstage, pause, then walk offstage, which means you need to add movement blocks to the code for the sprite.

First, click on the sprite to select it. When a sprite is selected, all blocks you add to the scripts area will apply to that sprite. Next, click on the motion menu.

Use a “glide” block to make the sprite move across the stage.

“Glide” blocks use coordinates to tell the computer where on the stage a sprite should glide. Scratch uses 2 coordinates, "X" and "Y," to determine the location of a sprite.

The x coordinate controls the sprite’s horizontal, or left to right, location. The y coordinate controls its vertical, or up and down, location. To set the x and y positions in the glide block, drag the sprite to the position where you want it to go, and the blocks in the blocks menu will automatically update to the sprite’s position.

Then, drag out a "glide” block. Now that the block is out of the blocks menu, its values will not automatically update.

To test, move the sprite and double click on the “glide” block to see the sprite glide to the position you selected.

Next, drag the sprite to the place on the stage where it should exit after finishing the fashion walk. Drag out another “glide” block, and snap it below the first one. Test it out.

Great! The sprite glides to the two positions that you chose.

Now, it’s your turn: Drag the sprite to the center of the stage.

Drag a “glide” block into the scripts area.

Drag the sprite to the right of the stage. Snap a second “glide” block into the first.

Click the green “next” arrow on this page to watch the next video In the next video, you'll learn how to set the sprite’s starting position.

If you need help, ask your neighbor, or get your Guru's attention.

Once you’ve completed this step, return to this tab, and click the green “next” arrow to move on to the next video.

arrow_backward Indietro
Avanti arrow_forward
  1. Fai muovere lo sprite al centro del palco.
  2. Fai muovere lo sprite alla fine del palco.