Is there a “wait until” block?

Do you guys know the Timers Extensions, and how there is an “after 500 do” block?

How do I make it so that it waits until something happens, like if I wanted to wait until a sprite is destroyed(using the Sprite Utils extension)? Or is there a separate extension for just that?

Also, I’m not talking about this:

2 Likes

If you wanted to do an action only when a sprite is destroyed, you could use this block:

It’s found in the sprite section, under Lifecycle. You wouldn’t need to download a seperate extension.

1 Like

I would just put that “Pause Until” block inside a “separately do” block. You could also use the On Sprite Destroyed block and check that it’s the sprite you’re trying to detect. Depending on how you use this. it might not do what you think it does, so if you have some weird bugs please share your code so we can understand what you’re trying to do.

You can use scratch, as it has that block, but if you don’t want to then, ask someone to make an extension for it.