How to pass vector variables from character bp to animinstance bp?

Ok I am trying to pass a vector variables from my character bp to animinstance bp. Upto now I have created the variables in the character bp and tried (for first time) get all actors node in animinstance but unable to proceed further.

Either:

A) From the Anim BP: Try Get Pawn Owner → Cast to MyCharacter → Get MyVectorVariable

or

B) From Character BP: Drag “Mesh” (Skeletal Mesh) component into blueprint graph → Get Anim Instance → Cast to MyAnimInstance → Set MyVectorVariable