The amount of light entering the eye is controlled by a reflex action. The size of the pupil changes in response to bright or dim light. This is controlled by the muscles of the iris.