-
Pick-whip nested comp name expression
Hi there,
Hope you are well.
I’ve rigged a very simple character inside a precomp (circle character), that bounces, blink eyes etc. whith control sliders, check boxes etc.But now when I’m working on my main (top level comp), I don’t want to go inside my characters precomps etc to animate them. So, basically I’ve copied all the effects (expressions) to my nested comp and then linked all the expressions from the precomp into the nested comp.
It works fine, but now I want to be able to duplicate my characters and control them individually.
So my question is: Is there anyway of getting the nested comp layer name without having to manually pick whipping it within all my precomps?
Here is what I’ve got just in case you didn’t understand my rambling doubts.
Top Level comp is *Main
Character Comp is Character Preset
Character precomp is where all the controls are originally.
Expressions is a null inside Character precomp where all the control sliders etc are. So these are the ones to be connected to the copied effects now pasted on my Character comp directly.Example:
comp(“*Main”).layer(“_Character-Preset-1”).effect(“Mouth Control”)(“Checkbox”)
My Idea:
comp(“*Main”).layer(nestedLayer??).effect(“Mouth Control”)(“Checkbox”)
Thanks in advance.
All the best
Joao MonteiroExample:comp("*Main").layer("_Character-Preset-1").effect("Mouth Control")("Checkbox")
My Idea:
comp("*Main").layer.nestedLayer.effect("Mouth Control")("Checkbox")