Functionality to build content sequences

I have a dozen animations for instruction functionalities, but every action is a separate GIF. Creating a component with variants don’t work well, as finding the exact time in ms of an animation is hardly doable. Imagine having 3 or more animations that should play one after another, and then play from the start again. Please make this easier, like, creating a list of animations and make looping optional.

Thanks!