Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 941 Bytes

File metadata and controls

23 lines (14 loc) · 941 Bytes

LayerList

Summary

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

Instance Properties

NameReturn TypeDescription
lastLayer
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
mainLayer
Read-only
Returns the main layer
countnumber
Read-only
The number of layers
activeLayer
Read/Write
Returns the active layer