Check if a spesific animation is playing

I know that Animation.IsPlaying allows me to check if any animation is playing, but how can i check if a specific animation is playing?

Check the enabled property of the desired animation:

if (animation["funnywalk"].enabled == true)
    print("funnywalk is playing.");

You can, but as a workaround I suggest you build an animation manager where you store the animation that it’s currently playing, then you can use it not only to check the currently playing animation but to do an event driven animation manager which can lead you to a really optimized code.

Read the scripting reference again