Choose exam board for KS4 Computer Science (GCSE)
Choose exam board for KS4 English
Choose exam board for KS4 French
Choose exam board for KS4 Geography
Choose exam board for KS4 German
Choose exam board for KS4 History
Choose tier for KS4 Maths
Choose exam board for KS4 Music
Choose exam board for KS4 Physical education (GCSE)
Choose exam board for KS4 Religious education (GCSE)
Choose exam board for KS4 Spanish

      Lesson details

      Learning outcome

      I can develop a design that includes two or more loops.

      Key learning points

      1. Two or more loops can run at the same time.
      2. Repetition can be used to animate a sprite by changing its costumes.
      3. An event block, like the green flag, can start multiple processes simultaneously.

      Keywords

      • Animate - to make something move or change its appearance

      • Algorithm - a precise sequence of steps that can be followed to do a task

      • Duplicate - to copy something exactly, such as part of a coding project

      • Evaluate - to look at something carefully and decide how well it works or how it could be improved

      Common misconception

      You have to make each letter start animating one after another after the green flag is pressed.

      When you press the green flag (or another event block), you can make two or more sprites start animating at the same time.

      Teacher tip

      For this lesson, you will need to have an understanding of sprites in Scratch, including attributes and costumes. Costumes are alternative appearances of a sprite, which can be named, edited, created, and deleted.

      Equipment

      Pupils will need access to a device with block-based programming software. Examples in this lesson use Scratch https://oak.link/scratch

      Licence

      This content is © Oak National Academy Limited (2026), licensed on Open Government Licence version 3.0
      except where otherwise stated. See Oak's terms & conditions
      (Collection 2).

      Lesson video

      Loading...

      Prior knowledge starter quiz

      6 Questions

      Q1.
      Which type of loop repeats a set of instructions a specific number of times?

      Infinite loop
      Single-use loop
      Correct answer: Count-controlled loop
      Random loop

      Q2.
      What is an infinite loop?

      Correct answer: A loop that repeats forever
      A loop that ends after one step
      A loop that runs twice
      A loop that never starts

      Q3.
      What do you call the part of a program that starts code running when something specific happens?

      Correct Answer: event, event block, trigger

      Q4.
      Put these steps in order to run a count-controlled loop:

      1 - Set the number of times
      2 - Start the loop
      3 - Run the code inside the loop
      4 - Check if the count is finished

      Q5.
      What information does a count-controlled loop need before it starts?

      The loop's colour
      Correct answer: How many times to run
      The name of the program
      The size of the screen

      Q6.
      What is the name for the visual appearance or outfit that a character can wear in a coding project?

      Correct Answer: costume

      6 Questions

      Q1.
      Match each keyword to its definition:

      Correct Answer:Animate,To make something move or change

      To make something move or change

      Correct Answer:Algorithm,A precise sequence of steps

      A precise sequence of steps

      Correct Answer:Duplicate,To copy exactly

      To copy exactly

      Correct Answer:Evaluate,To decide how well something works

      To decide how well something works

      Q2.
      In this code for the letter J, what is the purpose of the orange wait 0.5 seconds block?

      An image in a quiz
      Correct answer: Adds a pause so that you can see the costume change
      Starts the animation when the flag is clicked
      Changes the sprite to the next costume in its costume list
      Makes the commands run forever, until the program is stopped

      Q3.
      Which block can start multiple processes at the same time?

      Costume block
      Duplicate block
      Animate block
      Correct answer: Event block

      Q4.
      What does repetition help you do in an animation project?

      Make a sprite disappear
      Stop all code
      Correct answer: Change a sprite’s costume to animate it
      Duplicate the sprite

      Q5.
      How can you make all the letters in your animation project start moving at the same time?

      Use a different event block for each letter
      Wait for one letter to finish before starting the next
      Correct answer: Start each letter’s code with the same event block
      Only animate one letter at a time

      Q6.
      Match each statement to the correct term:

      Correct Answer:Event block,Starts code for all sprites at the same time

      Starts code for all sprites at the same time

      Correct Answer:Loop,Repeats instructions to create movement

      Repeats instructions to create movement

      Correct Answer:Costume,Changes how a sprite looks

      Changes how a sprite looks

      Correct Answer:Simultaneous animation,All sprites begin animating together

      All sprites begin animating together

      Q2 Scratch is a project of the Scratch Foundation. It is available for free at https://scratch.org. OR ScratchJr is a project of the Scratch Foundation. It is available for free at https://scratchjr.org. OR Scratch Foundation under CC BY-SA 2.0

      To help you plan your 4 computing lesson on: Animating text, download all teaching resources for free and adapt to suit your pupils' needs...