Hard to describe?
Upload a photo to find the product.
TE Sensors Sensor, Photoelectric M18 0.1m PNP NO 2m