Highlighted

After Effect Expression with a control box

New Here ,
Jun 12, 2020

Copy link to clipboard

Copied

Hi,

I have been given a project file and I am just trying to understand what a particular expression is doing?

This is an expression assigned to a control box that turns on and off a group layer in element 3D:

 

thisComp.layer("Control_Layer_Name")(5)(10)(15)

Control_Layer_Name is the Adjustment layer with the control box.

Can anyone explain the 3 numbers in brackets as I have not seen this expression before?

 

cheers

Topics

Expressions

Views

90

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

After Effect Expression with a control box

New Here ,
Jun 12, 2020

Copy link to clipboard

Copied

Hi,

I have been given a project file and I am just trying to understand what a particular expression is doing?

This is an expression assigned to a control box that turns on and off a group layer in element 3D:

 

thisComp.layer("Control_Layer_Name")(5)(10)(15)

Control_Layer_Name is the Adjustment layer with the control box.

Can anyone explain the 3 numbers in brackets as I have not seen this expression before?

 

cheers

Topics

Expressions

Views

91

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mylenium LATEST
Most Valuable Participant ,
Jun 12, 2020

Copy link to clipboard

Copied

They are the numeric indices of the enumerated lists and values - 5th effect, 10th effect parameter, property value 15. It's a perfectly valid shorthand syntax, it's just barely used because it gets confusing quickly if multiple effects need to be adressed and you have to keep the hierarchy straight.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...