Ability of the eye to see objects at all distances is called
Accommodation
Accommodation of an eye: While seeing at distant object, eye lens is thinner and its focal length is more (about 2.5 cm). While looking at near objects, eye lens assumes a more round shape, and its focal length decreases and nearby objects are clearly focussed at the retina.