How to take a variable in Animinstances C++ from Character C++?

How to take a variable in Animinstances C++ from Character C++? I can’t figure out how to pass the value of a variable between two .cpp