Hi everybody! Here's a question from a noob: can I group the layers of a sketch file I've imported into an array?
Hey Martino Bilello, sure! :-)
myLayers = [sketch.layerA, sketch.layerB, sketch.layerC]
And then you can loop over them:
for layer in myLayers____layer.x = 20
You might find this useful, too: https://github.com/awt2542/Layers-for-Framer You can create groups/arrays based on names, layer properties, active states and more.
This is very useful. Thanks a lot