✅ Solved: Multi-Animations for Webflow (need help)
Hi everyone,
I'm still a beginner when it comes to Rive animations, but I'm falling more and more in love with it every day. I'm creating Rive animations for Webflow websites. I've finally managed not only to embed Rive animations in Webflow but also to control them - for example, triggering them on hover or based on scroll.
That part now works fine. 👍
Now I want to learn how to run multiple animations from a single Rive file. For instance: I want a white circle to move back and forth continuously, but when hovering over the graphic, the circle should turn red - and then back to white when the hover ends.
I’m experimenting and trying a few things, but I just can’t get it to work properly. Has anyone here already done something like this and could give me a hand?
Here’s what I’m currently doing:
I create a new project in Rive, design my graphics, and set up the animation as usual in the timeline. Then I add a Number input called "progress" to the State Machine, which I later control via GSAP or Webflow animations. After that, I duplicate the artboard, remove all contents, and drag in the original artboard as a nested artboard - I call this one "production". In the new State Machine, I remap the original timeline and create two extra timelines called "start" and "end" - one set to 0%, the other to 100%. Then I set up a Blend 1D that uses the progress input to interpolate smoothly between start and end. Finally, I export the file as .riv and embed it in Webflow using a canvas, so I can control the animation on scroll. That works fine.
But how to combine multiple animations at once - that’s still a mystery to me.
Thanks in advance! I really appreciate any help or tips! 🫶