question about animation.

so i followed the unity document. Unity - Animation Scripting (Legacy)

and i wont it so that when i realse the fire 1 button it goes back into idle(i feel like a noobe).

Do you want it in C#?

I’m fairly sure mouse 0 is left mouse which is indeed fire1… SO:

 if(Input.GetMouseButtonUp(0)) {
    animation.Blend("YourAnimationName");
 }