When the idle animation plays in my game after a certain amount of time without touching anything i want the second
idle animation to play once and then go back to the original idle animation which carrys on looping for a certain amount
of time and then plays the second idle animation so on, How can this be achieved??
Using javascript.
thanks.