LayerList

Summary

The list of Layers in the scene. (You don't instantiate this yourself. Access this via Sketch.layers)

Instance Properties

NameReturn TypeDescription

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

Last updated