Skip to content

propertygroup

thisLayer("ADBE Effect Parade")

All properties in the Timeline are organized into groups, which share some attributes of properties like name and propertyIndex.

Property Groups can have a fixed number of properties (e.g. an individual effect whose properties don’t change) or a variable number of properties (e.g. the “Effects” group itself which can have any number of effect within it).

  • Motion Trackers
  • Text
  • Contents
  • Masks
  • Effects
  • Transform
  • Layer Styles
  • Geometry Options
  • Material Options
  • Audio
  • Data
  • Essential Properties
  • Individual effects
  • Individual masks
  • Shape groups
  • Text Animators

On this page, we’re going to use thisLayer("ADBE Effect Parade") (the “Effects” group) as a sample on how to call these items, however note that any method that returns a PropertyGroup will work.


thisLayer("ADBE Effect Parade").name

Returns the name of the property group.

String


thisLayer("ADBE Effect Parade").numProperties

Returns the number of properties or groups directly within a group.

Number

To find the number of effects applied to a layer:

thisLayer("ADBE Effect Parade").numProperties

thisLayer("ADBE Effect Parade").propertyIndex

Returns the index of a property group relative to other properties or groups in its property group.

Number


propertyGroup([countUp=1])

Returns a higher-level property group relative to the property group on which the method is called.

See propertyGroup() for additional details.

ParameterTypeDescription
countUpNumberOptional. The number of property groups “up” the hierarchy to climb. Defaults to 1.

PropertyGroup object