|
|
This should case layer B's scale to follow Layer A, only when A's scale is larger than B's:
s = thisComp.layer("Layer A").transform.scale;
[Math.max(s[0],value[0]),Math.max(s[1],value[1])]
Dan
-----Original Message----- From: Rachel Max
Sent: Monday, February 10, 2014 12:01 PM
To: After Effects Mail List
Subject: [AE] scale expression
Happy Monday,
I have layer A that is scaling from 0 to 100 - and then has a nice decay thanks to an expression from Dan.
I have layer B that I’d like to be synced up with layer A (going past 100 and then have the decay) - however layer be is already on the screen and I only want to the scale past 100 and then bak to 100 with the decay.
What would you suggest dear kind list?
Thanks,
Rachel
+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>
|
|