Mask attributes and methods (expression reference) – Adobe After Effects User Manual
Page 698

pointOfInterest
intensity
color
coneAngle
coneFeather
shadowDarkness
shadowDiffusion
active
param(name)
param(index)
Note:
in the Timeline panel. Returns false otherwise.
Light attributes and methods (expression reference)
Light objects have the same attributes and methods as Layer objects, except for source, effect, mask, width, height, anchorPoint,
scale
, opacity, audioLevels, timeRemap, and all of the material properties.
Return type: Property [3].
Returns the point of interest values for a light in world space.
Return type: Property.
Returns the intensity values of a light as a percentage.
Return type: Property [4].
Returns the color value of a light.
Return type: Property.
Returns the cone angle of a light, in degrees.
Return type: Property.
Returns the cone feather value of a light as a percentage.
Return type: Property.
Returns the shadow darkness value of a light as a percentage.
Return type: Property.
Returns the shadow diffusion value of a light, in pixels.
David Van Brink provides an instructional article and sample project on his
that show how to use expressions with lights.
Effect attributes and methods (expression reference)
Return type: Boolean.
Returns true if the effect is turned on (the Effect switch
is selected).
Return type: Property.
Argument type: name is a String.
Returns a property within an effect. Effect control points are always in layer space. Example:
effect("Bulge").param("Bulge Height")
Return type: Property.
Argument type: index is a Number.
Returns a property within an effect. Effect control points are always in layer space. For example, effect("Bulge").param(4) returns the Bulge
Height property.
Mask attributes and methods (expression reference)
You can link Mask Path properties to other path properties (paths in a shape layer and brush strokes), but the properties are not accessible
694