How to Pick Random Items Without Repeats in Scratch
📌 What you will learn
Delete each selected item from a working copy list after drawing it.
Minimal Working Block Recipe
Delete each selected item from a working copy list after drawing it.
Test this minimal version first, then tune numbers like speed, gravity, or timing to match your game feel.
Pick Random Items Without Repeats script
- set [idx] to (pick random 1 to length of [Deck])
- use (item idx of [Deck]) -> delete idx of [Deck]
Try it: Guaranteed zero duplicate questions or cards.
Debugging Checklist & Next Steps
If it behaves unexpectedly, verify initial variable resets on the green flag and check that continuous checks sit inside a forever loop.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.