How can the currently manipulating character know the animation being played?

Hello, I am using animated blueprint, and I can get the state that is currently playing. I wonder if there is a way to output the animation inside the state machine in real time using the syntax like ‘print string’.