Discuss Scratch

RandomBoyOnScratch
Scratcher
3 posts

How Do I Delete All Clone’s In A Stage

Hey! I have a problem

My problem is:

when a player press’s the retry button all of my clone’s should get deleted how do I do that?

to put it in simple terms:

there are x amount of clone’s the highest possible value for the x is 35 and the lowest is 3 when a button is pressed all of the clone’s should get deleted without effecting anything else or any other sprite in a negative way/value

Also is there a way to do this when the main character dies/hides
Or like in a broadcast

Last edited by RandomBoyOnScratch (Sept. 30, 2021 03:38:31)

theanonymousweirdo
Scratcher
500+ posts

How Do I Delete All Clone’s In A Stage

when this sprite clicked
broadcast [delete clones v] and wait
when I receive [delete clones v]
delete this clone

Last edited by theanonymousweirdo (Sept. 30, 2021 03:59:18)


This is my signature. It appears at the bottom of all of my posts.
My favorite song: You're Not Alone
RandomBoyOnScratch
Scratcher
3 posts

How Do I Delete All Clone’s In A Stage

theanonymousweirdo wrote:

when this sprite clicked
broadcast [delete clones v] and wait
when I receive [delete clones v]
delete this clone

Thanks for the help!

Powered by DjangoBB