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