{proto} Change a background color while scrolling

Hello,
Is there à way to change the background color while scrolling ?

My page will have 12 items vertically, the color of the background (and some texts) wil change when each item enters the viewport. It will be a natural scroll, not a kind of slider. Is there a way to prototype it ? Like triggering some scroll in pixel and then changing a local variable to switch the color ?

A post was merged into an existing topic: “On Scroll” for prototyping

Hey @Geoffrey_Menissier, thank you for reaching out!

The animation you’re looking to have isn’t currently possible with the features available in Figma today.

I’ve merged your post with a similar feature request, please feel fee to upvote it.

Thank you,
Gayani.

1 Like