How do I Loop an Imported Animation?

I have tried lots of things, but I imported an animation I made for an enemy, and I was told to change the wrap mode, but that whole section is grayed out and I can’t change anything. Any help?

You can do it through code

private var yourAnim : AnimationState;

function Start()
{
    yourAnim = animation["yourAnim"];
    yourAnim.wrapMode = WrapMode.Loop;
}