The IR signal for this gadget is generated by an LED. The IR signal produced by the LED or reflected back from the obstacle's surface when there is an obstruction or any gesture done in front of the device. The photodiodes of APDS-9960 detect this reflected light.