ProximitySensor

A proximity sensor is a non-contact sensor that detects the presence of an object (often referred to as the “target”) when the target enters the sensor's field. Depending on the type of proximity sensor, sound, light, infrared radiation (IR), or electromagnetic fields may be utilized by the sensor to detect a target

gif (1)