hey !I want to push a childrens property into an array. In my case the opacity of the children named "topGradientActive". But how?
myArray = listitem.childrenWithName("topGradientActive")
is this what you need? There's probably an easier way but this is what worked for me https://screencast.com/t/0wZ1YpF2ocfx
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.
hmm ok. something like this? Again, gotta be a simpler way, but It does the job http://share.framerjs.com/tj6b28xdoqjf/
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
when i open your file i get an error "cannot read property "value" of undefined.