• Practice
  • About 13 min
  • 5 practice questions

Introducing Scratch: stage, sprite and script editor

Describe Scratch as a visual programming language from the MIT Media Lab, and identify the stage, sprites, the script area, block menu and block palette, and the Costumes and Sounds tabs.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Explain what Scratch is and who developed it.
  • Name and describe the stage, sprite and script editor.
  • Tell the script area, block menu and block palette apart.
  • Say what the Costumes and Sounds tabs are for.

Drawing every frame by hand is slow. Scratch lets you make animations, cartoons and games by giving instructions to characters. It is a visual programming language: instead of typing code, you snap together coloured blocks, like jigsaw pieces. It was developed at the Massachusetts Institute of Technology (MIT) Media Lab to make programming easier and more fun to learn. Scratch has had several versions (including an online editor and downloadable ones), and the layout and names differ a little between them; this lesson uses the textbook's names and notes where a newer version looks different.

The three main parts of the Scratch editor

The Scratch editor

  • Stage
    • The background where the action happens
    • Usually white at first; you can change it
  • Sprite
    • A character or object on the stage
    • A cat appears by default
    • Listed in the Sprite List
  • Script editor / costume editor
    • Where you build programs (scripts)
    • Where you edit a sprite's pictures (costumes)

Stage: the background that appears when you open Scratch. Every sprite moves and talks on the stage. Sprite: each character on the stage is a sprite; a cat usually appears when a new project opens, and you can change it, add more or draw your own. Script editor: where you edit the programs that control a sprite; with the Costumes tab you edit the sprite's pictures instead.

The textbook describes the window as having at least three panes: the Stage (top left), the Sprite List (bottom left) and the Scripts tab (right), which holds the blocks and the scripts area. The right side also has the Costumes and Sounds tabs. In newer versions the stage is usually on the right, the blocks on the left, and the tabs are named Code, Costumes and Sounds; the parts are the same, only arranged differently.

Inside the script editor

PartWhat it is for
Block menuChoosing the category of blocks, such as Motion, Looks, Sound, Events or Control
Block paletteChoosing the actual block (programming statement) from that category
Script areaBuilding scripts by dragging blocks here and snapping them together

How you build a script

  1. Block menu Pick a category, e.g. Motion
  2. Block palette Pick a block, e.g. move 10 steps
  3. Drag to script area Snap it under the block before
  4. Run Click the green flag or the script

Costumes are the different pictures a sprite can wear. Switching costumes quickly is how a sprite seems to walk or wave, which is the frame idea from the last lesson. Sounds are the audio clips a sprite can play; the cat comes with a meow.

Worked example 1: name the part

Question: Where would you go to (a) change the cat into a dog picture, (b) find the 'move 10 steps' block among the Motion blocks, (c) join three blocks into a program? Reasoning: (a) the costume editor (Costumes tab) edits a sprite's pictures; (b) choose Motion in the block menu, then the block appears in the block palette; (c) the script area is where scripts are built.

Worked example 2: planning a two-sprite scene

Task: Plan a scene where a cat and a bird talk in a garden. Plan: the garden is the stage background; the cat and the bird are two sprites in the Sprite List; each sprite gets its own script saying what it does, because in Scratch every sprite has its own scripts. If the bird should flap its wings, give it two costumes, wings up and wings down.

Scratch = visual programming with blocks (MIT Media Lab). Stage = background; sprite = character; script area = build scripts; block menu = choose category; block palette = choose block.

Key takeaways: Scratch programs are built from blocks, not typed code. The stage is where things happen, sprites are the actors, and the script editor holds each sprite's instructions; costumes and sounds give sprites their looks and voices.

Check your understanding

  1. 1. Which software is used to create animations in this unit?

    1. Paint
    2. PDF
    3. Scratch
    4. A word processor
    Show answer

    Answer: C. Scratch is the textbook's software for creating animations, cartoons and games. Paint draws still pictures.

  2. 2. Which is used to build scripts?

    1. Script area
    2. Block palette
    3. Stage
    4. Sprite
    Show answer

    Answer: A. Blocks are dragged into the script area and snapped together to build scripts. The palette only offers blocks to choose from.

  3. 3. Where do you choose the category of blocks?

    1. Block palette
    2. Script area
    3. Sprite
    4. Block menu
    Show answer

    Answer: D. The block menu chooses the category (such as Motion or Looks); the block palette then shows that category's blocks.

  4. 4. A character that moves on the Scratch stage is called a:

    1. Folder
    2. Sprite
    3. File
    4. Palette
    Show answer

    Answer: B. Characters on the stage are sprites; a cat sprite appears by default in a new project.

  5. 5. Scratch was developed at:

    1. The MIT Media Lab
    2. A film studio
    3. A library
    4. A newspaper office
    Show answer

    Answer: A. Scratch was developed at the Massachusetts Institute of Technology (MIT) Media Lab to make programming easier and more fun to learn.

Privacy · Terms · Refunds · Delivery