byName()

Returns the first topmost layer found in this collection with the specified name, or null if no layer with the given name is found.name A string containing

addText()

Creates a new point text layer and adds the new TextLayer object to this collection.To create a paragraph box text layer, use the addBoxText method. For mor

addSolid()

Creates a new SolidSource object, with values set as specified; sets the new SolidSource as the mainSource value of a new FootageItem object, and adds the F

addShape()

Creates a new ShapeLayer object for a new, empty Shape layer. Use the ShapeLayer object to add properties, such as shape, fill, stroke, and path filters.Thi

addNull()

Creates a new null layer and adds the AVLayer object to this collection. This is the same as choosing Layer > New > Null object.duration Optional, the lengt

addLight()

Creates a new light layer and adds the LightLayer object to this collection.The new layer honors the Create Layers at Composition Start Time preference.name

addCamera()

Creates a new camera layer and adds the CameraLayer object to this collection.The new layer honors the Create Layers at Composition Start Time preference.na

addBoxText()

Creates a new paragraph box text layer and adds the new TextLayer object to this collection.To create a point text layer, use the addText method. For more i

add()

Creates a new AVLayer object containing the specified item, and adds it to this collection.The new layer honors the Create Layers at Composition Start Time

Layer object

The Layer object provides access to layers within compositions. It can be accessed from an itemメs layer collection either by index number or by a name strin