Skip to content

properties

thisLayer

When you add masks, effects, paint, or text to a layer, 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.

On this page, we’re going to use thisLayer as a sample on how to call these items, however note that any method that returns a Layer will work.


thisLayer.anchorPoint

Returns the anchor point value of the layer in the coordinate system of the layer (layer space).

Array of Numbers (2- or 3-dimensional)


thisLayer.audioLevels

Returns the value of the Audio Levels property of the layer, in decibels. This value is a 2D value; the first value represents the left audio channel, and the second value represents the right. The value is not the amplitude of the audio track of the source material. Instead, it is the value of the Audio Levels property, which may be affected by keyframes.

Array of Numbers (2-dimensional)


thisLayer.marker

Returns a given layer’s Marker property.

Marker Property


thisLayer.name

Returns the name of the layer.

String


thisLayer.opacity

Returns the opacity value for the layer, expressed as a percentage.

Number


thisLayer.position

Returns the position value of the layer, in world space if the layer has no parent. If the layer has a parent, it returns the position value of the layer in the coordinate system of the parent layer (in the layer space of the parent layer).

Array of Numbers (2- or 3-dimensional)


thisLayer.rotation

Returns the rotation value of the layer in degrees. For a 3D layer, it returns the z rotation value in degrees.

Number


thisLayer.scale

Returns the scale value of the layer, expressed as a percentage.

Array of Numbers (2- or 3-dimensional)



thisLayer.timeRemap

Returns the value of the Time Remap property, in seconds, if Time Remap is enabled.

Number