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

What is Framer? Join the Community
Return to index
Johann Kasuch
Posted Feb 24 - Read on Facebook

hey !
I want to push a childrens property into an array. In my case the opacity of the children named "topGradientActive". But how?

myArray[0] = listitem.childrenWithName("topGradientActive")

5 Comments

Aalok Trivedi

is this what you need? There's probably an easier way but this is what worked for me https://screencast.com/t/0wZ1YpF2ocfx

Johann Kasuch

Thanks! But i think i'm trying to reach a different goal here. In my case i'm checkin a scroll.content layer (with multiple children), if it is on certain position. If true, childLayers of that content layer should have opacity=1.

Aalok Trivedi

hmm ok. something like this? Again, gotta be a simpler way, but It does the job http://share.framerjs.com/tj6b28xdoqjf/

Aalok Trivedi

got stuck on how to track the y position of a child in the scroll.content as it moves, so I did a hack with the scrollOffset

Johann Kasuch

when i open your file i get an error "cannot read property "value" of undefined.

Read the entire post on Facebook