Step 11: Lose by the Star Destroyer


Bosses are not just about winning, you can also lose if you don’t defeat them fast enough.

We are going to add some code to our Star Destroyer that will trigger a Game Over Screen if it gets to the bottom of the screen.


  1. From Control, place an IF statement block under the IF statement we just worked on.
  2. From Operators, place a <(Less Than) block and set the right side to -220.
  3. From Motion, place a round y position block in the left side of the <(Less Than) block.
  4. From Events, place a broadcast block into the IF block and set it to lose.