How to get enemy variable for animation blueprint

I want that a character on scene (enemy) set variable and than its animation blueprint get this property for performing the transition rules. How can I make it. I tried to cast to the character blueprint and its aicontroller but it didn’t work. Show example code.

Can you show me what you’ve tried? Seems like casting should work for that…how did you do your casting? What kind of variable is this? Where is it located. Screen shots help much more than saying ‘ I tried XYZ and it didn’t work’. I don’t know if it didn’t work because it will never work or because you did it incorrectly. So post some screen shots and then we will figure this out.