How to move objects with scrolling? 🤔



How can I create objects which will move with scrolling the page?
Something like this:

Also how can I create elements which will for example appear when I reach some viewpoint?
Example for this question is here:



Hi @Matus

Section in documentation

On Enter Viewport
On Exit Viewport

You can tie a timeline to an on scroll function. Sadly, Hype doesn’t have an “action” that does scrolling.

There are a few posts here for similar kinds of solutions.

(Jonathan Deutsch) #3

Survey Legend also did some interesting work with paralax scrolling that we wrote about

But for most of the site the viewport actions are what you want, and it won’t be scrolljacking either.