Step 31: Direction 3 IF Statement

Goal:


Let’s set up Direction 3 where the Big Asteroid will appear below the ship.

Steps:

  1. From Control, place an IF block.
  2. From Operators, place an = block in the IF block.
  3. From Variables, place a round Direction block in the first spot of the = block.
  4. Set the second spot of the = block to 3.

Code: