I want to control the number of seconds an animation would run in my application, but i found only two options - infinite run or one-shot run, and i want the animation to ru