- Home /
How to make a 2d animation repeat
Attatched is a screenshot of my animator. I want the animation jrpg walk to loop while the player's speed is above .5. the why i have done it is far from perminent. i have it setup, so from idle, when the player's speed is greater than 0, the walk animation starts, but i created a duplicate so that the two could go back and forth as long as the speed remains above .5. How can i get it so that when the player is still, use the idle animation, and when he is in motion, play the walk animation(making the walk animation loop without having two of the same walk animation)? thanks
Answer by Akhil-Raja · Dec 03, 2015 at 08:31 AM
Get rid of the duplicate walk animation.
Navigate to the folder in your assets where the walk animation is saved. Then select the animation and on the inspector you will find an option called Loop time. Tick that and you are good to go.
Here is a picture I got from the internet to show you.
Your answer
![](https://koobas.hobune.stream/wayback/20220612051016im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I reset a non-looping animation? 0 Answers
Animation keeps playing even with "loop" deactivated. 1 Answer
Loop Time through Script 2D 4.3 1 Answer
Animations in the animator not looping 1 Answer
Loop Animation 1 Answer