|Delete All of ()|
Because it deletes all the items in a list, it can be used in a wide variety of situations. The dropdown selects the list.
When a pattern is repeated correctly:
. . . if <(played notes::list) = (correct notes::list)> then delete all of [played notes v] generate new sequence::custom . . .
When all enemies are defeated
. . . if <(enemies) = (0)> then delete all of [enemies list v] . . .
- Main article: List of Block Workarounds
This block can be replicated with the following code:
set (list item v) to (0) repeat (length of [list v] :: list) change (list item v) by (1) delete (list item) of [list v] end