Animaition length

How to i get the length of a particular animation from a channel?

I want to find out the time length of that walk animation, and then I wanna move the char move forward for that time length.So, “how long the char will move” depends on the length of the current animation playing.

Found it.


But, how do I get this info just from using the animation name(walk, run…)?(without activating then)