Discuss Scratch

AdorableKitty
Scratcher
4 posts

A "delete all clones" block?

Is there a block that will delete all clones that are on the screen? The only block that seems to do that is
deletethisclone

and you can't put it inside a script, only at the end.
Mmaarten
Scratcher
100+ posts

A "delete all clones" block?

There is not such block but, the ‘delete this clone’ block should delete all clones created from the sprite where the block is used
Greatguy123
Scratcher
500+ posts

A "delete all clones" block?

Yeah, it can get kinda weird sometimes. Something you could do is use a broadcast. Since clones receive broadcasts, you could do something like this:
broadcastDelete all clones where you want to delete all cloneswhenIreceiveDelete all clonesdeletethisclone
All the clones will receive the broadcast and delete themselves.

Last edited by Greatguy123 (June 21, 2016 18:19:26)

AdorableKitty
Scratcher
4 posts

A "delete all clones" block?

Thanks for your help! I will try those methods.

Powered by DjangoBB