Hi guys,I'm starting to use Framer and really enjoying the potential Framer has and have a question about selecting sublayers.
I have my layers in Sketch as in the image below.Is there a way to select "inputEmail" inside "signup1" without using sublayers array?
example: app.signup1.inputEmailThe above example gives me a TypeError: undefined is not an object (evaluating 'app.signup1.inputEmail.on'
however "app.signup1.sublayers" works well.
I suppose I could make sure all the layers have independent names but that seems inefficient.
any help would be great thank you!
The hierarchy is unimportant for imports. You can target the layer directly using sketch.inputEmail
sorry I forgot to mention that I have inputEmail in both "login" and "signup1". This is why I wanted to use signup1.inputEmail
In that case it's best to use unique names.
ah I see. I hope this becomes a feature so I can keep things clean. Thank you
Also, here's a quick video explaining how it works.https://www.facebook.com/groups/framerjs/permalink/809196252540781/