Scratch
Beginner
40 mins
Teacher/Student led
What you need:
Chromebook/Laptop/PC
iPad/Tablet

Loop it! Making Movements Repeat

In this step-by-step lesson, you'll animate the Scratch Cat to walk across the screen. You'll create a new project, code the cat's movements, change its costumes for a walking effect, control the speed, and loop the walk. You'll also learn how to make the cat bounce at the edge and animate a race for an extra challenge.
Learning Goals Learning Outcomes

Live Class Feed

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.
Load previous activity

    1 - Introduction

    In this lesson, we’re going to make the Scratch Cat walk across the screen. We’ll do this by making the cat change costumes and move forward at the same time, creating a smooth walking animation. By the end of the lesson, you’ll have a cat that looks like it’s walking from one side of the screen to the other!

    2 - Create a new project

    Let's start by creating a new Scratch project. First, go to the Scratch website by clicking here.

    Once you're on the Scratch website, click on 'Create' to start a new project. You will see a cat sprite on the screen.

    3 - Make the Character Move

    Begin coding the cat’s walk by dragging the "when green flag clicked" block from the Events section into the coding area. This will start the animation when you click the green flag.

    To make the cat move across the screen, add the "move 10 steps" block from the Motion section under the green flag block. This will make the cat take a step forward.


    when green flag clicked move [10] steps

    4 - Changing Costumes for Walking

    Next, we need to make the cat change costumes as it moves, so it looks like it’s walking. Drag the "next costume" block from the Looks section and place it under the "move 10 steps" block.

    when green flag clicked move [10] steps next costume

    5 - Control the Speed

    To keep the walking smooth, add the "wait 0.2 seconds" block from the Control section underneath the "next costume" block. This will control how quickly the cat changes costumes and moves forward, making the walk look natural.

    when green flag clicked move [10] steps next costume wait [0.2] seconds

    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

    Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more