An ultrasound of your eye may be performed if something is blocking the doctor’s view to the retina. This test is not invasive, and involves gently placing ultrasound jelly and a probe on the eyelid or sometimes on the white of the eye to obtain information about the retina and the vitreous. This test is not painful.