In this interaction, we’ll animate the cards in the hero section using a scroll-based parametric animation.
Step-by-step setup
Set the
hero
frame tosticky
positionMake sure to increase the height of the frame
hero frame
to make it scrollableCreate a parametric animation on scroll
Select the frame named
hero frame
Open the Interact panel and create a new parametric animation
Choose the action: While scrolling
Interaction Settings → Trigger / Target
Trigger:
hero frame
(already selected)
→ Turn"By name"
OFFTarget:
cards
(frame to animate)
Animation Properties
Choose:
Move
,Rotate
,Scale
Keep
"Change to"
selected
Set values:
Move (Y) = -1000
Rotate = 270°
Scale X = 1.3
Scale Y = 1.3
Duration = 10s
Text & Animation Options Panel
Turn ON Animate inner objects
Set
Interval = -15s
Interaction Settings → Triggering Event
Click Customize button, then set:
Smooth Animation
ONStart when element:
Top
Touches viewport:
Top
End when element is:
Bottom
Touches viewport:
Bottom
Animate while scrolling
ON