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?
You need scroll.scrollY
I think the scroll.content is the one that moves, scroll is just like a mask, i don't know if i'm right.
Jonas Treub I'll try, thanks guy.
Văn Công Bằng Negative. Any sublayer related to that scroll layer, its .y will not change when I'm scrolling.
print scroll.content.y, the number does change, though it outputs the negative value, it's the opposite of scrollY.
Văn Công Bằng True.
Jonas Treub It worked. Thank you very much.