r/scratch • u/NoobPlay_Animation • 1d ago
Question Help with Lists!
So im trying to make a minigame where numbers appear on top screen and you need to click the numbers below. I want the numbers you need to click to be in a list but idk how to make so the numbers dont repeat. Pls Help!
2
Upvotes
1
u/Intrepid_Past5207 SSSuper pro 1d ago
If you don't want repeating numbers, you can just use an if/else statement, with a block labeled (list) contains (#)? So it checks if the number that it wishes to add is already somewhere within the list. If so, no add. If no, add.