-
Controller Layer Scale In & Out, on a layers in & out point, ??
I want to have a layer to be controlled by another layer, via the in point & out point. I understand how to make a layer respond to another layers and have it start on its inpoint. But im tryin to make it respond to 2 controllers one pointed to the inpoint and the other to the outpoint. So in the controller layer there is a 3 keyframe animation of a scale up. and in the other controller layer there is a 4 frame scale down. So I want a layer to look at both these scale properties and perform them via inpoint for the scale up and then the outpoint for the scale down. its something like this, but its not working. I also want the animation to all happen within the length of the layer.
if (time >= inPoint){
thisComp.layer("Control_Scale_In").transform.scale.valueAtTime(time-(inPoint));
}
else
if (time >= outPoint){
thisComp.layer("Control_Scale_Out").transform.scale.valueAtTime(time-(outPoint));
}
else{scale}