Property
Properties
LayerInputStageType enum object (e.g. property.LayerInputStageType.SOURCE), for convenience alongside layerInputStage/setLayerInputStage.true when the layer's video is active at the current time (enabled, not overridden by another soloed layer, and within inPoint/outPoint). Never true for an audio layer. For an effect or property, same as enabled but read-only.null if not set or not applicable. Use canSetAlternateSource to check eligibility.true if this property is an Essential Property that supports Media Replacement.true if the enabled attribute value can be set. Generally true if the UI shows an eyeball icon for this property; always true for layers.true if this property's type allows its expression to be set by a script.true if this property can vary over time - keyframe values or an expression can be written to it.true if the property's dimensions are represented as separate properties (e.g. X/Y Position). Only meaningful when isSeparationLeader is true.true if this property is an organizational group not shown in the UI, whose children are not indented in the Timeline panel.true, the property uses its associated expression to generate a value; when false, keyframes or the static value are used. Can only be set to true if canSetExpression and expression contains a valid expression string.expression. Empty string if no error occurred or none was set.true if there is a maximum permitted value for this property.true if there is a minimum permitted value for this property.[layerIndex, stage] this property currently reads its input from - layerIndex of 0 means no layer, stage is a LayerInputStageType value (or raw effect index).true if this is the Menu property of a Dropdown Menu Control effect, whose items can be updated with setPropertyParameters.true if this property is an effect PropertyGroup.true if this property is a mask PropertyGroup.true if this property has changed since it was created.true if this property represents one of the separated dimensions of a multidimensional property (e.g. X Position).true if this property is multidimensional and can be separated (e.g. Position).true if this property defines a spatial value, e.g. position or an effect point control.true if this property has keyframes or an enabled expression. Implies canVaryOverTime is true.LayerInputStageType (or raw effect index) this property reads its input from. Change it with setLayerInputStage.name, it doesn't change across versions.hasMax is false.MediaReplacementScaleMode used when this Essential Property's alternate source is rendered (e.g. Scale to Fill).hasMin is false.isNameSet is false). For an effect or property, its display name; settable only for children of an indexed group.0 means the property isn't keyframed.null if this is a layer.0 for a layer.setPropertyParameters.PropertyType.PROPERTY, PropertyType.INDEXED_GROUP, or PropertyType.NAMED_GROUP.PropertyValueType describing how this property's value is stored/retrieved (e.g. OneD, ThreeD_SPATIAL, COLOR, SHAPE, TEXT_DOCUMENT).true if this property is selected in the UI.1, X Position is 0).null if not an Essential Property.expressionEnabled, else the keyframed value at the current time, else the static value.Instance Methods
addKey
Returns: number
Since: 27.0
Adds a new keyframe or marker to this property at the specified time; returns the index of the new keyframe.
Parameters
addToMotionGraphicsTemplate
Returns: boolean
Since: 27.0
Adds this property to the Essential Graphics panel for the specified composition. true on success. Use canAddToMotionGraphicsTemplate to check eligibility first.
Parameters
addToMotionGraphicsTemplateAs
Returns: boolean
Since: 27.0
Same as addToMotionGraphicsTemplate, but lets you give the EGP property a custom name.
Parameters
canAddToMotionGraphicsTemplate
Returns: boolean
Since: 27.0
Tests whether this property can be added to the Essential Graphics panel for the specified composition. Supported types: Checkbox, Color, Numerical Slider, Source Text.
Parameters
duplicate
Returns: Property
Since: 27.0
If a child of an indexed group, creates and returns a copy of this property with the same values. Throws otherwise.
getInputStageCycleSafeLimit
Returns: number
Since: 27.0
Returns the highest LayerInputStageType this property can safely be wired to without creating a reference cycle.
getSeparationFollower
Returns: Property
Since: 27.0
For a separated, multidimensional property, retrieves the follower property for the given dimension (e.g. X/Y Position from Position).
Parameters
isInterpolationTypeValid
Returns: boolean
Since: 27.0
true if this property can be interpolated using the specified KeyframeInterpolationType.
Parameters
KeyframeInterpolationType to test: LINEAR, BEZIER, or HOLD.keyInInterpolationType
Returns: number
Since: 27.0
Returns the incoming interpolation type for the specified keyframe.
Parameters
addKey or nearestKeyIndex.keyInSpatialTangent
Returns: number[]
Since: 27.0
Returns the incoming spatial tangent for the specified keyframe, if this property is spatial (TwoD_SPATIAL/ThreeD_SPATIAL).
Parameters
addKey or nearestKeyIndex.keyInTemporalEase
Returns: Array
Since: 27.0
Returns the incoming temporal ease (KeyframeEase objects) for the specified keyframe.
Parameters
addKey or nearestKeyIndex.keyLabel
Returns: number
Since: 27.0
The label color (0-16) for the specified keyframe. Set via setLabelAtKey.
Parameters
addKey or nearestKeyIndex.keyOutInterpolationType
Returns: number
Since: 27.0
Returns the outgoing interpolation type for the specified keyframe.
Parameters
addKey or nearestKeyIndex.keyOutSpatialTangent
Returns: number[]
Since: 27.0
Returns the outgoing spatial tangent for the specified keyframe.
Parameters
addKey or nearestKeyIndex.keyOutTemporalEase
Returns: Array
Since: 27.0
Returns the outgoing temporal ease for the specified keyframe.
Parameters
addKey or nearestKeyIndex.keyRoving
Returns: boolean
Since: 27.0
true if the specified keyframe is roving. The first/last keyframe can never rove. Throws if the property isn't spatial.
Parameters
addKey or nearestKeyIndex.keySelected
Returns: boolean
Since: 27.0
true if the specified keyframe is selected.
Parameters
addKey or nearestKeyIndex.keySpatialAutoBezier
Returns: boolean
Since: 27.0
true if the specified keyframe has spatial auto-Bezier interpolation. Throws if the property isn't spatial.
Parameters
addKey or nearestKeyIndex.keySpatialContinuous
Returns: boolean
Since: 27.0
true if the specified keyframe has spatial continuity. Throws if the property isn't spatial.
Parameters
addKey or nearestKeyIndex.keyTemporalAutoBezier
Returns: boolean
Since: 27.0
true if the specified keyframe has temporal auto-Bezier interpolation (effective only when both interpolation types are Bezier).
Parameters
addKey or nearestKeyIndex.keyTemporalContinuous
Returns: boolean
Since: 27.0
true if the specified keyframe has temporal continuity (effective only when both interpolation types are Bezier).
Parameters
addKey or nearestKeyIndex.keyTime
Returns: number
Since: 27.0
Finds the specified keyframe or marker and returns the time it occurs at. Throws if none matches.
Parameters
keyValue
Returns: any
Since: 27.0
Finds the specified keyframe or marker and returns its current value. Throws if none matches.
Parameters
moveTo
Returns: boolean
Since: 27.0
Moves this property to a new index in its parent group. Only valid for children of indexed groups; invalidates existing sibling references.
Parameters
nearestKeyIndex
Returns: number
Since: 27.0
Returns the index of the keyframe nearest to the specified time.
Parameters
propertyGroup
Returns: PropertyGroup
Since: 27.0
Gets the ancestor PropertyGroup at a specified level up the parent-child hierarchy (default: immediate parent). Returns the Layer if the count reaches the containing layer.
Parameters
remove
Returns: boolean
Since: 27.0
Removes this property (and any children) from its parent group. Only valid for children of indexed groups; can be called on a text animator.
removeKey
Returns: boolean
Since: 27.0
Removes the specified keyframe. Remaining indices shift down; remove from highest index to lowest when removing multiple.
Parameters
addKey or nearestKeyIndex.setAlternateSource
Returns: boolean
Since: 27.0
Sets the alternate source AVItem for this Media Replacement property. Both the property and the AVItem must be Media Replacement compatible.
Parameters
setInputLayerAndStage
Returns: boolean
Since: 27.0
Sets the layer index and LayerInputStageType (or raw effect index) this property reads its input from.
Parameters
0 means no layer.LayerInputStageType (or raw effect index) to read from that layer.setInterpolationTypeAtKey
Returns: boolean
Since: 27.0
Sets the in/out interpolation types for the specified keyframe. If outType isn't given, it's set to inType.
Parameters
addKey or nearestKeyIndex.KeyframeInterpolationType.LINEAR, BEZIER, or HOLD.inType value.setLabelAtKey
Returns: boolean
Since: 27.0
Sets the label color (0-16) for the specified keyframe.
Parameters
addKey or nearestKeyIndex.[0..16].setLayerInputStage
Returns: boolean
Since: 27.0
Sets the LayerInputStageType (or raw effect index, 0-5) this property reads its input from.
Parameters
LayerInputStageType (or raw effect index) to set.setPropertyParameters
Returns: Property
Since: 27.0
Parameters
setRovingAtKey
Returns: boolean
Since: 27.0
Turns roving on/off for the specified keyframe. Ignored for the first/last keyframe. Throws if the property isn't spatial.
Parameters
addKey or nearestKeyIndex.true to turn roving on, false to turn it off.setSelectedAtKey
Returns: boolean
Since: 27.0
Selects or deselects the specified keyframe.
Parameters
addKey or nearestKeyIndex.true to select the keyframe, false to deselect it.setSpatialAutoBezierAtKey
Returns: boolean
Since: 27.0
Turns spatial auto-Bezier interpolation on/off for the specified keyframe. Throws if the property isn't spatial.
Parameters
addKey or nearestKeyIndex.true to turn spatial auto-Bezier on, false to turn it off.setSpatialContinuousAtKey
Returns: boolean
Since: 27.0
Turns spatial continuity on/off for the specified keyframe. Throws if the property isn't spatial.
Parameters
addKey or nearestKeyIndex.true to turn spatial continuity on, false to turn it off.setSpatialTangentsAtKey
Returns: boolean
Since: 27.0
Sets the incoming and outgoing tangent vectors for the specified keyframe. If the outgoing tangent isn't given, it's set to the incoming value. Throws if the property isn't spatial.
Parameters
addKey or nearestKeyIndex.inTan rows shown - the first is the incoming tangent vector, the second is actually the optional outgoing tangent vector (outTan), defaulting to the incoming value if omitted.inTan rows shown - the first is the incoming tangent vector, the second is actually the optional outgoing tangent vector (outTan), defaulting to the incoming value if omitted.setTemporalAutoBezierAtKey
Returns: boolean
Since: 27.0
Turns temporal auto-Bezier interpolation on/off for the specified keyframe.
Parameters
addKey or nearestKeyIndex.true to turn temporal auto-Bezier on, false to turn it off.setTemporalContinuousAtKey
Returns: boolean
Since: 27.0
Turns temporal continuity on/off for the specified keyframe.
Parameters
addKey or nearestKeyIndex.true to turn temporal continuity on, false to turn it off.setTemporalEaseAtKey
Returns: boolean
Since: 27.0
Sets the incoming and outgoing temporal ease for the specified keyframe. If the outgoing ease isn't given, it's set to the incoming value.
Parameters
addKey or nearestKeyIndex.inTemporalEase value.setValue
Returns: void
Since: 27.0
Sets the static value of a property with no keyframes. Throws if the property has keyframes - use setValueAtTime/setValueAtKey instead.
Parameters
propertyValueType.setValueAtKey
Returns: void
Since: 27.0
Finds the specified keyframe and sets its value. Throws if no matching keyframe exists.
Parameters
propertyValueType.setValueAtTime
Returns: void
Since: 27.0
Sets the value at the specified time, creating a new keyframe there if one doesn't exist.
Parameters
propertyValueType.setValuesAtTimes
Returns: void
Since: 27.0
Sets values for a set of keyframes at specified times (parallel arrays), creating new keyframes as needed.
Parameters
times in length; see propertyValueType.valueAtTime
Returns: any
Since: 27.0
The property's value evaluated at the specified time. preExpression = true returns the pre-expression value; false evaluates the expression. Ignored if there's no expression.
Parameters
true, returns the value at the specified time without applying the expression. When false, returns the result of evaluating the expression. Ignored if the property has no expression.