Module 3: Lineup

Course: Scratch Programming     Level: Module 3     Project 33 of 35

Official Raspberry Pi Project

This lesson is based on the official Raspberry Pi Foundation project. Open it alongside this guide to access the starter project, step-by-step instructions and community remixes.

### [🍓 Open "Lineup" on Raspberry Pi Projects →](https://projects.raspberrypi.org/en/projects/lineup)

How to use it: Click the link above, then click See Inside on the Scratch project to explore the finished version. Use Remix to get your own copy to edit.


What You Will Build

Arrange sprites in formation responding to user input using positioning.


What You Will Learn

By the end of this project you will be able to:


You Will Need

Item Details
🌐 Browser Any modern browser — Chrome, Firefox or Edge
🔶 Scratch account Free at scratch.mit.edu
⏱️ Time Approximately 30–45 minutes
📋 Starter project Available via the Raspberry Pi link above

Step-by-Step Guide

  1. Create 6 character sprites with at least 2 costumes each.
  2. When the flag is clicked: place all sprites at random positions on the stage.
  3. Add a Sort button. When clicked: glide all sprites into a straight line.
  4. Space them evenly: first sprite at x:-200, then -120, -40, 40, 120, 200.
  5. Add height sorting: sort sprites by their y-start position (tallest to shortest).
  6. Add colour sorting: group sprites by costume colour.
  7. Add drag-and-drop: allow the user to reposition sprites manually.
  8. Add a check button that evaluates if the lineup is in correct order.
  9. Add a score based on how quickly the user sorts the lineup.
  10. Add animated entry: sprites march in from off-screen before the sorting challenge.

Extension Challenges

Try these after completing the main project:


Reflection Questions

  1. Which Scratch blocks did you use most in this project?
  2. What would you add or change if you had more time?
  3. How could you reuse the ideas from this project in a different context?

Share Your Work

When your project is complete, click Share in Scratch and post the link to your class or the Techbase community.


Back to Scratch Course     Next: Lesson 34