Question on ultrasonic sensor!

Yes, won't work. You might look into analog IR sensors, they might work through a transparent cover. Sharp makes some but you have to watch that the minimum and maximum ranges match your application.

Lefty