• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

After Effect Expression with a control box

Community Beginner ,
Jun 12, 2020 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

174

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
community guidelines
LEGEND ,
Jun 12, 2020 Jun 12, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines