During a UBM examination, a patient typically sits upright or lies down while a coupling gel is applied to the eye. A small probe with a transducer emits high-frequency sound waves, which are painlessly directed into the eye to capture detailed images of the anterior segment structures.