what is the function of the ciliary muscle
Ciliary muscle The ciliary muscle /ˈsɪli.ɛəri/ is a ring of smooth muscle[2][3] in the eye's middle layer (vascular layer) that controls accommodation for viewing objects at varying distances and regulates the flow of aqueous humour into Schlemm's canal. It changes the shape of the lens within the eye, not the size of the pupil which is carried out by the sphincter pupillae muscle and dilator pupillae.[citation needed]