Is there any way to have animations automatically loop?

I’m importing 18 animations, and i need them to all loop time. i’ve reimported this same set of animations three times now, and there will probably be some more repetition.

Manually selecting them all and changing their import flag to tick Loop Time, and then scrolling down to hit apply (because the menu is too tall for my screen) then waiting the 3-5 seconds of unresponsive time while it reimports… is just hell incarnate. I can’t do this anymore.

Give me a better solution. I want animations to loop more often than not. Make them just automatically loop by default. can i do this with an editor script?

Put into the update function: animation.Play(“ANIMATION NAME”);