How to get ArmatureAnimation currentFrame in public?

How to get ArmatureAnimation currentFrame in public?
0

#1

There is only protected property _currentFrame in class ArmatureAnimation.Is that mean if I want read the animation currentFrame I must modify engine code to public the property _currentFrame? thanks~