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.
Copy link to clipboard
Copied
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