How to get the current character animation in C++?

Hello, how to get the current animation of the character using C ++?
Preferably in the form of class object UAnimSequence…

Maybe you will find your answer here: UAnimSequence | Unreal Engine Documentation ?