Ok, I see. Maybe this is closer (also there may be a plugin for making it even easier).
Looks like by applying a Slider to a null object, it creates a thisComp feature…then you can rename
with something like comp(“main”) in the second expression to reference the initial slider in the main comp.
IE:
temp = thisComp.layer(“Null 1”).effect(“Slider Control”)(“Slider”);
[temp, temp]
goes to this in the secondary/precomp, in this case I named the first comp “main”:
temp = comp(“main”).layer(“Null 1”).effect(“Slider Control”)(“Slider”);
[temp, temp]
Looks like if you rename the slider from “Slider Control” it propogates the name to the second comp
automatically which is cool. Hope this helps!…i’m sure there may be better answers out there.