Help my animation wont play

if(Input.GetMouseButtonDown(1))
{
animation.Play(“Sword hit 1”);
}

whe ni press right click with that object with animation, it wont play.I get error like BroadcastMessage Fire has no receiver!
Please help…

I haven’t tested it but try ----

if(Input.GetMouseButtonDown(“Fire2”))
{
animation.Play(“Sword hit 1”);
}