With the 'cursor' mode and 'hold' type the animation will play when the cursor is placed over the animation, and in reverse if the cursor leaves the animation.
<script> LottieInteractivity.create({ player:'#thirteenthLottie', mode:"cursor", actions: [ { type: "hold" } ] }); </script>
Updated
Comments
0 comments
Article is closed for comments.