Hi!
I want to add interactive lottie animation on my site:
This is how should it works:
1/2 part of animation must be on loop by default
2/2 part of animation is for hover interaction: on hover plays forward to the last frame and stops, when cursor takes away, animation plays backward and returns to loop.
Hi! I want to add interactive lottie animation on my site:
This is how should it works: 1/2 part of animation must be on loop by default 2/2 part of animation is for hover interaction: on hover plays forward to the last frame and stops, when cursor takes away, animation plays backward and returns to loop.
I made video below, to show how it should works. https://sergiuszmoroz.pl/sharing/lottie-anim.mp4
I’m really beginner here, I know how to make basic interactive animations like loop or hover, but I can’t merge this interactions in code.
Can someone help me here, please?
Thanks in advance!! ❤️❤️