I am currently working on a AE project, where I want the In and out point of a layer to define the In and out point of another layer.
Something like this:
Layer 1 In Point/Out Point
I--> LAYER 2 In Point/Out Point
I guess using an expression that uses Time Remap on Layer2 might be helpful here, by positioning the keyframes at the in and out points of Layer 1. I have tried this approach to control the position of the two time remap keyframes in the comp:
timeRemap.key(1).valueAtTime = thisComp.layer("Layer 1").inPoint
timeRemap.key(2).valueAtTime = thisComp.layer("Layer 1").outPoint
However, nothing happens. I am doing something wrong, but I donÂ´t know what . Any help on this topic, including nudges in the right direction are much appreciated.
Cheers and wishing all of you a nice day