activeItem

The item that is currently active and is to be acted upon, or a null if no item is currently selected or if multiple items are selected.Item object or null;

openInViewer()

Opens the layer in a Layer panel, and moves the Layer panel to front and gives it focus.None.Viewer object for the Layer panel, or null if the layer could n

nullLayer

When true, the layer was created as a null object; otherwise false.Boolean; read-only.

activeCamera

The active camera, which is the front-most camera layer that is enabled. The value is null if the composition contains no enabled camera layers.CameraLayer

parent

The parent of this layer; can be null.Offset values are calculated to counterbalance any transforms above this layer in the hierarchy, so that when you set

openInViewer()

Opens the composition in a Composition panel, and moves the Composition panel to front and gives it focus.None.Viewer object for the Composition panel, or n

file

The ExtendScript File object for the file containing the project that is currently open.File object or null if project has not been saved; read-only.

file

The ExtendScript File object for the footage’s source file.If theFootageItem’smainSource is a FileSource, this is the same as FootageItem.mainSource.file.Ot

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

openInViewer()

Opens the footage in a Footage panel, and moves the Footage panel to front and gives it focus.NOTE: Missing and placeholder footage can be opened using this