Copy link to clipboard
Copied
I would like to connect the scale property of "Layer 1" to the second layer with this expression: thisComp.layer("Layer 2").transform.scale. Is there a way to maintain the value of the scale keyframes relative to the new scale of the "Layer 2".
There's more than one way to interpret what you're asking for, but maybe like this:
s = thisComp.layer("Layer 2").transform.scale/100;
[value[0]*s[0],value[1]*s[1]]
Copy link to clipboard
Copied
There's more than one way to interpret what you're asking for, but maybe like this:
s = thisComp.layer("Layer 2").transform.scale/100;
[value[0]*s[0],value[1]*s[1]]