Project 93: Explosions

3. Move our Target and Broadcast a Hit

Let's get our Sprite moving around the screen so that we have to race to tap it! We will use broadcast events to signal the explosion. Have some fun by making your original Target sprite make a pop sound when it's hit by the mouse, and then disappear.
Starting point file for this challenge

Your goal

Steps

1. Add Click Interaction

Navigate to the Events tab and grab a "when this sprite clicked" block.

2. Broadcast a Hit

Look further down in the Events tab and add a "broadcast ____" block.  Click on the little white upside down triangle and click New Message.  Now in the pop up type out the name of the message: "hit".

3. Hide your Target

Head to the purple Looks tab and grab the tiny "hide" block, then attach it below the "broadcast hit" block. 

4. Play a Popping Sound.

Go to the Pink Sound Tab, and grab our last block.  We're looking for the "start sound pop"  block.  Place it right below the hide block. 

5. Make the Target Show Up Again

Wait, right now if we click on the "Target" it doesn't re-appear.  To solve this add a "show" block to the original "forever" loop.