Hey guys, I have an idea and wondering if it is possible to create without super extensive code. I have a hero animation which I’m exporting as lottie from after effects. I would want to have a light/dark mode in my site but I wouldn’t want to create duplicates of this hero animation and switch between them, and also to have the animation jumping to the start due to the switch.
Is it possible to use variables on a lottie animation so when changing modes it will change seamlessly too?
Thank you in advance for you help
I’m basing the light/dark mode on my site off of this tutorial by timothy ricks:
I was wondering if the same principe can applied to a lottie animation so i won’t need to create two versions of every animation i have on the site