I cant access ACharatcer

I am trying to write a character controller and when I try to make my character crouch it says i do not have access to ACharacter.

Where did you define the movement component in your character? I should be public if you want to access it from outside.

i didnt define it i thought you could access it from ACharacter