Revision as of 18:09, 4 January 2019 by CrazyBoy826 (talk | contribs) (Usage)

The delete all of [ v] block is a List Block and a Stack Block. It deletes all the items in the specified list. Before Scratch 3.0, it was included in the Delete () of () block.


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::list)
. . .