-
Layer start time issue for linking pre-comp parameter
Forgive me as I am very much an expression newb. I have a slider on a layer that is controlling the rotation of a layer in a pre-comp. However, when I keyframe the slider, the layer in the pre-comp doesn’t animate.
I’ve dug through here enough to learn that it’s because the slider layer doesn’t start at time 0, and so some sort of expression converting the layer’s start time to zero is needed. I’ve tried to cobble together stuff, but I simply don’t know the correct syntax.
Guidance much appreciated.
The expression is:
comp(“ep1_main_comp”).layer(“ep1_timer1”).effect(“Slider Control”)(“Slider”)
This is applied to a layer called ‘Dial’. The control layer’s (ep1_timer1) start time is 5m29s19f in a 23.98 comp. I think I need to tell Dial’s expression to consider 5m29s19f the start time for the expression? But how?
comp("ep1_main_comp").layer("ep1_timer1").effect("Slider Control")("Slider")