Now let’s code what happens when we need to restart the game.
Our restart broadcast message will have our player reset and have time to get ready before more enemies appear on screen.
- From Events, place a when I receive block.
- Click the dropped down menu and click new message.
- In the window that appears type “reset”.
- From Control, place a delete this clone block.