In this lesson we are going to learn how to navigate the Scratch interface. We will find out what different parts of the interface do, including the block palette, script area, sprite pane and stage. We will look at the events, control and motion categories to give commands to our sprite.

Step 1. Opening Scratch

Scratch has four main parts:

1. Sprite Pane:

The sprites pane is where we select, edit and add sprites. Sprites are the characters in our games and animations.

2. Block Palette:

The block palette is where we find commands to give to our sprites. There are different block categories. Today we will be using the motion, events and control categories.

3. Script Area:

The script area is where we will drag and drop our blocks to build scripts. Scripts are blocks ‘snapped’ together to create a sequence of instructions.

4. Stage:

The stage is where we will see our sprites follow the instructions we have given in the script area!

Step 2. Let’s get moving!

Click the motion category in the block palette. 

Drag move 10 steps into the script area.

  • What do you think this block does?

Click the events category in the block palette.

Add the when [flag] clicked block. 

  • What event will the script check for?
  • What will the sprite do when this event happens?

Click the green flag to test your code. What happens?

  • How do you think we would make the sprite move forever?

Click the control category. Control blocks do as the title says - they control our scripts.

Add the forever  block. The forever block is a kind of loop. Loops repeat the blocks inside of them.

Test your code. What happens?

  • In what category will we  find a command to make the sprite turn around when it touches the edge of the stage?

Add the if on edge, bounce  block.

  • What do you think this block does?

Add the set rotation style left-right▼ block. This block tells our sprite to rotate side to side when it hits the edge of the screen.

This block tells our sprite to rotate side to side when it hits the edge of the screen.

Step 3. Changing the backdrop and sprite

Click the picture button (above) on the sprite pane to add a backdrop.

Hint: You can add any picture you want!

Click the sprite button (above) in the sprites pane. Add a sprite from the Animals category.

Step 4. Challenges!

Well done! You have made your sprite move across the stage by dragging blocks from the block palette to the script area. You have also added a new backdrop and sprite from the sprite pane.

What next? See if you can complete these challenges:

  • Make your sprites move when the spacebar key is pressed.
  • Make your sprites move in different directions (not just side to side)
  • Make your sprites move at different speeds.
  • Make your sprites wait five seconds after the green flag is clicked before moving.

Did this answer your question?