The principle of the Michelson interferometer tells us that light reflected from the movable mirror (reference beam) will cancel out almost all light from the retina (objective beam) except light from the level of the retina corresponding to the position of the movable mirror. This is the principle behind optical coherence tomography.