Animation looping issue

#pragma strict
var Health = 100;
function Start () {
animation[“Horse_Dead”].layer = 1;
animation[“Horse_Dead”].wrapMode = WrapMode.Once;

function Update () {
	if (Health == 0);

That’s my code for the animation and I have loop time turned of.
p.s. It is a legacy animation

hmm… one of the problems is that you are playing your animation which is inside the function Update, which means every frame. This may be why it is looping, but not to do with the animation itself. I am currently having the same issue :frowning: