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

What is Framer? Join the Community
Return to index
Thomas Law
Posted Jul 24 - Read on Facebook

Why I'm using the Scroll Components (named "scroll"), I observed the output of "print scroll.y", it just keep outputting the same number, though the layer is actually moving vertically. Why?

7 Comments

Jonas Treub

You need scroll.scrollY

Văn Công Bằng

I think the scroll.content is the one that moves, scroll is just like a mask, i don't know if i'm right.

Thomas Law

Jonas Treub I'll try, thanks guy.

Thomas Law

Văn Công Bằng Negative. Any sublayer related to that scroll layer, its .y will not change when I'm scrolling.

Văn Công Bằng

print scroll.content.y, the number does change, though it outputs the negative value, it's the opposite of scrollY.

Thomas Law

Văn Công Bằng True.

Thomas Law

Jonas Treub It worked. Thank you very much.

Read the entire post on Facebook