The gun can read the little white dots and figure out what is between them, and how far above the surface the object is.