Animation Play on collision and button press is not working . Pro help needed!!

Play on collision and button press is not working please help

this is error I get below I do have clips attached and default clip

here is exact error below

The animation state hit could not be played because it couldn’t be found!
Please attach an animation clip with the name ‘hit’ or call this function only for existing animations.
UnityEngine.Animation:Play(String)
collision:OnCollisionEnter2D(Collision2D) (at Assets/Scripts/collision.js:14)

Send the code please, but i thing you do this:

function OnCollisionEnter2D(hit : Collision2D) {
		hit.animation.Play();
}

If yes, try this:

function OnCollisionEnter2D(hit : Collision2D) {
		hit.gameObject.animation.Play();
}