EasyManua.ls Logo

Adobe AFTER EFFECTS 7.0 - Layer General Attributes and Methods; Layer Properties Attributes and Methods

Adobe AFTER EFFECTS 7.0
684 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADOBE AFTER EFFECTS 7.0
User Guide
579
After Effects finds the mask by its index in the Timeline panel, starting at 1 and counting from the top.
Layer General attributes and methods
width Return type: Number.
Returns the width of the layer, in pixels. It is the same as
source.width.
height Return type: Number.
Returns the height of the layer, in pixels. It is the same as
source.height.
index Return type: Number.
Returns the index number of the layer in the composition.
parent Return type: Layer, Light, or Camera.
Returns the parent Layer object of the layer, if there is one. Example:
position[0] + parent.width
hasParent Return type: Boolean.
Returns true if the layer has a parent or false if it doesnt.
inPoint Return type: Number.
Returns the In point of the layer, in seconds.
outPoint Return type: Number.
Returns the Out point of the layer, in seconds.
startTime Return type: Number.
Returns the start time of the layer, in seconds.
hasVideo Return type: Boolean.
Returns true if the layer has video, or false if it doesnt.
hasAudio Return type: Boolean.
Returns true if the layer has audio or false if it doesnt.
active Return type: Boolean.
Returns true if the layer’s video switch is on or false if it isnt.
audioActive Return type: Boolean.
Returns a true value if the layers audio switch is on or a false if it isnt.
Layer Properties attributes and methods
When you add masks, effects, paint, or text to a layer or apply motion tracker to it, After Effects adds new properties
to the Timeline panel. There are too many of these properties to list here, so use the pick whip to learn the syntax for
referring to them in your expressions. For any of the levels that represent groups of properties, you can use the
name
and numEntries propertiestoreturntheuser-specifiednameandthenumberofentriesinthegroup.Forexample,
text("Animators").numEntries returns the number of animators on your text layer.
anchorPoint Return type: Property [2 or 3].
Returns the anchor point value of the layer in the layer’s space.

Table of Contents

Related product manuals