How do I get my AnimBlueprint in c++?

That’s because the AnimInstance is not exactly the blueprint.

What exactly do you want to do? Get access to the Instance to call a Montage or do you want the AnimBlueprint in your C++ Class to set it like you would do inside the BP?


I’m trying to get my AnimBlueprint in c++, but with no luck unfortunately. I tried this:


But it doesn’t work obviously, and I just don’t know what to cast as. :frowning:

Any ideas? :slight_smile:

I’d like to set two variables of my AnimBlueprint in my PlayerCharacter code.

#Two Wikis For You!

I have two wikis on this subject!

custom C++ Logic for anim bp

custom C++ vars for anim bp

Thank you, Rama! This solves my problem. :slight_smile: