[SOLVED]How can I pause all animations?

I have a number of animations playing using Play, CrossFade and Blend. Is there any way to freeze them where they are? I tried just not calling the .CrossFade() but if the animation is set to loop it just keeps going.

AnimationState has a speed variable. You can set the speed to 0 to freeze an animation.

That worked (For the most part) thanks.

animation.enabled = false;

works for me, for example, I have this on my character script:

	public void Pause () {
		animation.enabled = false;
	}
	
	public void Continue () {
		animation.enabled = true;
	}