How to get controller from AI actor?

Hello I want to get the Ai direction and speed for animation blueprint, I have no ideas how I can get the controller from AI actor?

anyone?

my dark elf warrior is a character blueprint

Instead of “Get Controller” node, who get a Controller reference, you should use “Try to get pawn owner” node, who return a Pawn reference compatible with your cast.