Get Variable from c++ actor to a Blueprintanimation

Variable from cpp or variable from bp?

FindField is deprecated since 4.25 so use FindFProperty instead.
Everything you need is located in UnrealType.h (global functions, bp types)