IPA: /ˈɒkjʊləli/
KK: /ˈɑkjələrli/
In a way that relates to the eyes or vision; visually.
The doctor examined the patient ocularly to assess their vision.
Ocularly → It is formed from "ocular" (from Latin "ocularis", meaning of the eye) and the suffix "-ly" (meaning in a manner). The word "ocularly" means in a manner related to the eyes or sight.
Think of 'ocular' which relates to the eyes, and remember that 'ocularly' means doing something in a way that pertains to sight.