Scratch
Beginner
30 mins
Teacher/Student led
+115 XP
What you need:
Chromebook/Laptop/PC or iPad/Tablet

A Dancing Cat and Bat

In this lesson we give some instructions to a cat and a bat to make them dance around the screen!

Learning Goals Learning Outcomes Teacher Notes Lesson Files

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 - Create a new Scratch project

    Create a new Scratch project. Notice that your project starts with a cat sprite already added to it and ready to be given some instructions.

    https://scratch.mit.edu


    2 - Make the cat dance

    We're going to give the cat some instructions to make it dance around in a circle.

    First drag the cat up to the top middle of the stage area (by holding down the left mouse button and moving your mouse) and then add this code to the cat sprite:

    whenclickedforevermove10stepsturn5degrees

    Click on the green flag that's above the stage area to run your code. The cat should move around the screen in a circle.


    3 - Make the cat stop

    To stop your cat from moving, click on the red circle that's beside the green flag above the stage area. This will stop all the code in your program from running.


    4 - Add a bat sprite

    Open the sprite library and add the Bat sprite to your project.


    5 - Make the bat dance

    We're going to make the bat dance by going left and right across the screen. Add the following code to the bat sprite:

    whenclickedforevermove10stepsifonedgebounce

    Click on the green flag again to run your code. Both the cat and the bat should be dancing now!


    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