⚡FREE AI Live Master Session: Teach AI to See! Build Your Own AI Image Classifier

    Register for Free →
    📋🎒🏆🔢⚔️⭐
    Free Worksheet · Intermediate

    Scratch Lists (Arrays)Store Multiple Items, Build Inventories & High Score Leaderboards

    Learn how to use Scratch Lists (Arrays) to hold multiple items under one name. Master 1-based indexing, adding/deleting items, searching lists, and building inventory systems for your games!

    📋

    What is a List (Array)?

    A Variable holds only a single value at a time (like score = 100). But what if you want to store a player's entire inventory of 10 items, or a leaderboard of top 5 high scores? That's where a List (also called an Array in computer programming) comes in!

    📦

    Variable vs List

    A variable is like a small box holding one item. A list is like a shelf with multiple numbered slots!

    🔢

    1-Based Indexing

    Scratch lists start numbering at position 1. The top item is item (1), the second is item (2), and so on.

    🛒

    Real-Life Examples

    Shopping lists, todo lists, contact lists in a smartphone, and playlists on Spotify.

    🎮

    Game Applications

    RPG inventories, high score leaderboards, dialogue logs, and random word generators.

    💡 Pro Tip: Where to find Lists in Scratch

    In Scratch, click on the red Variables category on the left palette, then click "Make a List".

    Ready to Inspect Lists Live?

    Open the interactive list inspector to insert, delete, and inspect index positions.

    1 of 10