During the scanning process, the cover of the device is left open. There is nothing on the glass.
The scanner poses a question into space. The answer is structure. Interaction with the device influences the result, for example, by opening and closing the cover or switching the light source on and off.