An event listener that checks if the object is visible and then changes the variant of the component (with ‘smart animate’).
It would be great if there was an event listener for prototyping that checks if an object is visible in the viewport. Maybe also with the option to check if the object is already completely visible or if it just enters the view port.
This would improve the possibilities to create scroll animations enormously. so far it is only possible with, not so well working, workarounds.
when the object enters the viewport (by scrolling), the animation of the component gets triggered.