A box rolls down to the switch. A signal light checks the condition โ green sends it down the if track, red sends it down the else track.
๐ก An if/else is a fork in the road. Only one path is taken โ never both.