tilt sensor or potentiometer

Patty0465:
Anyone know if i can put a piece of glass in front of the VL53LOX time of flight sensors

If the glass is clean I see no problem.
If it appears it may get contaminated, there is a video here where they split the glass into 2 pieces and put a divider between the Tx and Rx.

I intend to use a Vl503 to measure fuel level in an R/c model boat brass fuel tank.
Reference to the dual glass approach here......