Setting booleans in C++ and accessing them in Persona Animation Transitions?

How would I go about this? I’d like to setup my animation control (At least on the variables side of things) in C++ rather than blueprints.