Again, drag another [turn bulb <off>] block but this time drop it into the third slot of the [if_then_else_] block (Figure 11). Since its state is already <off> we don’t need to change it. This completes the second goal of our conditional statement. Figure 11 Add the [turn bulb <off>] block. – Now our project is complete! Pressing the left button down will turn the light on, and letting it go will turn it off as shown in Figure 12. Figure 12 To the left the bulb is off, to the it’s on. – Now that we know how to control a light bulb, let’s trying controlling even more lights!
Again, drag another [turn bulb <off>] block but this time drop it into the third slot of the [if_then_else_] block (Figure 11). Since its state is already <off> we don’t need to change it. This completes the second goal of our conditional statement. Figure 11 – Add the [turn bulb <off>] block. Now our project is complete! Pressing the left button down will turn the light on, and letting it go will turn it off as shown in Figure 12. Figure 12 – To the left the bulb is off, to the it’s on. Now that we know how to control a light bulb, let’s trying controlling even more lights!