The list of Layers in the scene. (You don't instantiate this yourself. Access this via Sketch.layers)
Name | Return Type | Description |
---|---|---|
last | Layer Read-only | Returns the last layer |
this[index] | Layer Read-only | Returns the layer at the given index |
this[index] | Layer Read-only | Returns the layer with the given name |
main | Layer Read-only | Returns the main layer |
count | number Read-only | The number of layers |
active | Layer Read/Write | Returns the active layer |