Problem While Getting a Reference to a C++ Class


I’ve spent the last 2 days working on a complex FSM for controlling a large amount of animations for my character. The problem I’m having is getting the UPROPERTY booleans controlled in my characters C++ class to affect the animation blueprint. He is a screenshot of what I am trying to do:


That obviously does not work because the compiler wants a reference to my character class. So I tried:


That compiled, but threw errors during runtime. What can I do to properly get a reference to my character class and read the variables from there?

Thank you in advance.