NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

List Items Duplicating or Out of Order

📌 What you will learn

Fix lists that double in length every replay or skip items during deletion loops.

Core approach

If your script adds items on green flag without "delete all of list" first, every replay appends another copy! Also remember Scratch lists start at item 1, not 0.

  • Put "delete all of list" right before refilling temporary lists.
  • When deleting matching items in a loop, iterate backward from length down to 1.
  • Remember item 0 does not exist in Scratch.

Pro tip & next steps

Display the list monitor on stage while testing to watch entries live.

All Troubleshooting Guides Browse more English guides in this section. Learn more → Scratch Block Dictionary Look up any Scratch 3.0 block with examples. Learn more →

FAQ

What is the best first step for "List Items Duplicating or Out of Order"?

Put "delete all of list" right before refilling temporary lists. Display the list monitor on stage while testing to watch entries live.

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.