Sensor, light beam control