So, I imported a PSD with 16 buttons. Now I want to animate each of them using a onMouseOver event. My plan is to populate an array with all the buttons and animate them by the index.
My problem is that my array of imported PSD elements does not consist of layers. Is there a way to get an array of imported elements as layers, without having to set up and push them for each button?
Imported elements should come in as layers. e.g. psd1.myItem should be a layer.
Framer's import returns an object with properties that correspond to layer names, and with each property having, as its value, a layer.
You can loop through the properties of the object that the import returns:
Thank you, looks promising :)