Play segments

Play segments

If you would like to play the animation and loop it only from a certain frame to a certain frame, then you can utilize the loop action and frames variable. 

<script>
LottieInteractivity.create({
    player: "#firstLottie",
    mode:"scroll",
    actions: [
        {
            visibility:[0, 1],
            type: "loop",
            frames: [70, 500]
        }
    ]
});
</script>
        



Updated

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.