How do we enlarge a FRAME while scrolling in figma?

Refer to Rejouice website for context

How do we enlarge a rectangle while vertically scrolling the frame in figma ?
If you see the reference, how do they did that video box animation in the landing page ?
Can we do that with figma?

prototyping #rejouice figma #animation