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

What is Framer? Join the Community
Return to index
Giovanni Caruso
Posted Apr 27 - Read on Facebook

Old silly question. Any cool way to programmatically get the y position of a series of cards inside a scrollComponent? Code here: https://framer.cloud/UNFVK.
*** Btw, the new Framer kicks ass <3

2 Comments

Andreas Wahlström

This is close in behavior:
textA.text = scroll.closestContentLayer().name

But this is more similar to your current code:
for card in cards
__if scroll.content.y < card.y * -1
____textA.text = card.name

Ban Nguyen

hi, I am working on a similar project and I have the same question: https://framer.cloud/owMkc/

Read the entire post on Facebook