How to move objects with scrolling? 🤔

scrolling

#1

How can I create objects which will move with scrolling the page?
Something like this: http://apple.co/1A9Ccbr

Also how can I create elements which will for example appear when I reach some viewpoint?
Example for this question is here: http://apple.co/1A9Ccbr

Regards,
Matus


#2

Hi @Matus

Section in documentation

http://tumult.com/hype/documentation/3.0/#viewport-actions

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.