There is provided an electric joystick for an ophthalmologic apparatus which exhibits a relatively small difference from operation of a manual joystick when performing alignment of an ophthalmologic apparatus. An ophthalmologic apparatus including an inspection unit which images or measures part of an eye to be inspected, a driving unit which moves the inspection unit, and an operation knob tiltable in an arbitrary direction includes a detection unit which detects a detected amount corresponding to the operation force applied to the operation knob in a case where the tilt angle of the operation knob tilted from a non-tilt position exceeds a predetermined angle, and a control unit which drives the driving unit in accordance with the detected amount detected by the detection unit.