I'm trying to create a new layer everytime a user clicks on a button. I've 2 issues with that now.
1. Since everytime a person clicks on the button and a new layer is created within that loop, how can I name it e.g 'Layer 1, Layer 2, Layer 3, etc'. Right now it just names it 'Layer 0' everytime a new one is created.
2. Is there anyway I can set the height of a layer as text for example: 'widthLabel.text = layerA.width'?