User Activity

I want to use the sensor in on of out devices to measure the obtacle in a given threshold range and was wondering if it can be used outdoors, how about covering this sensor with some coated glass ? will that work? Please suggest so we can finalize ...