I tend to duplicate the same elements (buttons, animations etc.) often, and have managed to find out how to reuse the text style and animation for different layers (see the 1st screenshot).
I've been trying to do the same with layer properties, but haven't been successful. If I could make them as a variable I could edit them once, and (for example) all the buttons I've created would update and look the same. You can see what I've tried in the 2nd screenshot.
Any ideas on how I can write a layer's properties as a variable and then just use the variable for different layers? I guess I could set each property as a variable:
myX = 100
myY = 200
myOpacity = 0.5
layerA = new Layer x: myX, y: myY, opacity: myOpacity
layerB = new Layer x: myX, y: myY, opacity: myOpacity etc…
Just wondering if I can do it the way I tried in the screenshot?