Scratch Jr
Beginner
30 mins
Teacher led
What you need:
iPad/Tablet

Floating in Space: Looping with the Spaceman

Embark on a space adventure by programming a spaceman to float in the cosmos using Scratch Jr. Learn about repeating actions, remove the default sprite, add a spaceman character, and set a space-themed background. Discuss space movement, program floating motions, and add a repeat block for continuous movement. Challenge yourself by creating a 'space dance' for your spaceman.
Learning Goals Learning Outcomes Teacher Notes

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 today’s Scratch Jr. lesson, your students will embark on a space adventure by programming a spaceman to float through the cosmos. This lesson is designed to introduce the concept of repeating actions using the repeat block, a powerful tool in coding that allows for continuous movement without having to manually input each step.

    Students will start by removing the default cat sprite and adding a spaceman character with a space-themed background. After discussing how astronauts move in space, they’ll program their spaceman to float using a series of movement blocks.

    The repeat block will then be added to create an endless floating motion, simulating the weightlessness of space. This lesson not only teaches basic movement commands but also introduces the important concept of loops in coding.

    2 - Space movement

    Start by introducing the idea of space exploration and how astronauts move differently in space compared to on Earth. Discuss with the students how they think a spaceman would move in space—floating up, down, left, and right, with slow, smooth motions.

    Click on the picture as a discussion stimulus.


    3 - undefined

    Instruct the students to open a new project in Scratch Jr. and remove the default Scratch the Cat sprite by holding down on it and selecting the "X" to delete it.

    Guide the students to add the spaceman/astronaut sprite from the library.

    Next, have them set a space-themed background by selecting one from the background options.

    Click on the picture to show the students what their screen should look like.


    4 - Programming Movements

    Discuss with the students how the spaceman should float in space. Encourage them to think about using up, down, left, and right movements to simulate floating.

    Demonstrate how to add the movement blocks in Scratch Jr. for the spaceman. For example, use an "up" block, followed by a "down" block, and then a "left" and "right" block to create a floating pattern.

    Click on the video to preview this movement.


    5 - Adding a Repeat Block

    Show the students how to add the repeat block to their sequence of movement blocks. Explain that the repeat block will make the spaceman continuously perform the same movements, simulating an endless floating effect.

    Have the students place the repeat block at the end of their sequence of movement blocks.

    Instruct the students to click the green flag to start their project and watch as the spaceman floats continuously in space.

    Click on the video to preview this movement.


    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.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more