Here is the script:
if (Input.GetMouseButton(0))
{
animation["Animation"].wrapMode = WrapMode.Once;
transform.animation.Play("Animation");
}
It wont stop. only setting it to clampforever will make it stop, but I need to be able to play it again and again. Any Idea why?