Using Sensors with the Hummingbird.
The Hummingbird LEDs and motors are output devices. Scripts in Scratch send commands to these devices to make something happen. The Hummingbird sensors, on the other hand, are input devices. They send information to the Scratch program. The Scratch program can use this information to make a decision with an if then else block.