Play certain frames and loop it

Hello! I have a 10 seconds animation and I’m thinking of just playing from 2s to 6s and loop it. Anybody know how to control this in Lottie?

I am building stuff for a mobile app so I thought of asking this under ‘Lottie in Mobile’

Hello.
In iOS library you can use AnimationView.play(fromFrame: AnimationFrameTime?, toFrame: AnimationFrameTime, loopMode: LottieLoopMode?) method. On other platforms you can find something similar.

1 Like