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

Does index expression work for shape layers contend?

New Here ,
May 15, 2020 May 15, 2020

Copy link to clipboard

Copied

I'm work in a Shape layer with lots of contend and need link opacity of this contend groups to a make a delay effect with valueAtTime function. I'm Try this: 

OD = thisComp.layer("CTRL_WIGGLE").effect("Opacity Delay")("Slider") // to get the delay value at a slider control.

content("Group 2").transform.opacity = content(index+1).transform.opacity.valueAtTime(time - OD) // tryin to link on a group opacity using the fisth group opacity as main animation.

TOPICS
Expressions , How to , Scripting

Views

428

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 ,
May 15, 2020 May 15, 2020

Copy link to clipboard

Copied

LATEST

The content hierarchy needs to be adressed directly by stringing together .content() references and the relative propertyIndex(), not the layer index. If you're only operating on the first group level this should be easy enough, but the deeper the nested groups are, the more complicated it gets.

 

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