Newbie: How to print debug for animation frames?

How can I query my animation frames.

For example: a walk animation

When I play the walk animation, how can I print out what frames it’s playing?

Thanks

Hm, I’m not seeing anything to get the current frame number…but you can use the time of the aniamtion it’s playing (Unity - Scripting API: AnimationState)…And you could use it to extract the current frame by using the total time the animation takes, and the framerate it’s playing at (AnimationClip.length, AnimationClip.frameRate).

How do you get the frameRate of the current animation that is playing?