Scrolling and interactive components

Hey everyone. Im trying to create a home page for my site that as I scroll, the interactive components will expand out. This is the website I’m basing it on, https://www.williamlachance.com/
I’m not sure if this is possible because in the interactions, there’s no option to like change something on scroll. I tried have an empty rectangle span the screen that would set a variable to true and then have my component do an if statement that would activate changeTo if the variable was true. I couldn’t get that to work though

Probably the simplest solution. https://www.figma.com/proto/voCygW28GtkaR0cwdzaXjD/Untitled?page-id=0%3A1&node-id=1-22&node-type=frame&viewport=1507%2C396%2C0.53&t=iHZM1e1Kn4sNxFgH-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=1%3A22