A bacterium is illuminated with alternating red and green light. When exposed to green light, the proteorhodopsin protein is activated, powering the motor and allowing the organism to move. When exposed to red light, the cell doesn’t move.