Layers

Description

The collection of layer objects, including art layer and layer set objects, in the document.

Properties

length readonly Number of elements in the collection.
parent readonly The object’s container.
typename readonly The class name of the object.

Methods

[] readonly Get an element in the collection with the provided index.
getByName readonly Get the first element in the collection with the provided name.
removeAll readonly Deletes all elements.