This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Leeves Chou
Posted Jan 11 - Read on Facebook

when the scroll direction is down(drag up)do one event,if the scroll direction is up(drag down)do another event.
How should I do that?
e.g Base on the scroll direction to change the states of imageLayer ,or just change "scale".

2 Comments

Koen Bok

Something like this?http://share.framerjs.com/wbmsc7le9mpz/

Stephen Crowley

If scroll.direction == "down"
# Do something
else
# Do something else

Read the entire post on Facebook