How to cast to character blueprint within anim blueprint?

Im trying to make it transition to another blendspace1d based on if a variable in the character blueprint is true heres what I have so far, I dunno how to fix the compile error v

nvm I just followed this tutorial: Unreal Engine 4 Guide - Crouching mode - YouTube

Hello LazyFoxzzz,

You should do it in the Event Graph.

Then you should assign that variable.

200219-result.png

make the character variables public

Perfect. solved it