Collection object

Like an array, a collection associates a set of objects or values as a logical group and provides access to them by index. However, most collection objects

setActive()

Moves the viewer panel to the front and places focus on it, making it active. Calling this method will set the viewerメs active attribute to true.None.Boolea

name

The name of the layer. By default, this is the same as the Source name which cannot be changed in the Layerpanel , but you can set it to be different.String

expression

The expressionfor the named property. Writeable only when canSetExpression for the named property is true. When you specify a value for this attribute, the

saveProjectOnCrash

When true the default , After Effects attempts to display a dialog box that allows you to save the current project if an error causes the application to qui

setValueAtKey()

Finds the specified keyframe and sets its value.If the named property has no keyframes, or no keyframe with the specified index, this method generates an ex

displayStartTime

The time set as the beginning of the composition, in seconds. This is the equivalent of the Start Timecode or Start Frame setting in the Composition Setting

addFolder()

Creates a new folder. Creates and returns a new FolderItem object and adds it to this collection.If the ItemCollection belongs to the project or the root fo

expressionEnabled

When true, the named property uses its associated expression to generate a value. When false, the keyframe information or static value of the property is us

endUndoGroup()

Marks the end of an undo group begun with the app.beginUndoGroup method. You can use this method to place an end to an undo group in the middle of a script,