-
Expressions with keyframes animation
Hi there, I’m trying to animate as series of shape layers, to be driven by 3 keyframes on a controller (null layer), but I’m trying to make AE calculate the difference between one layer and another, is there a reason why it’s just not working? Here’s my expression:
AE doesn’t provide any error message, but the result of my Y position remains constant, even if the keyframes indicated in the ‘controller’ layer indicate an animation. Hope it makes sense. Thanks in advance for your help.
a = content("Group 1").transform.position[0];
b = content("Group 1").transform.position[1];
c = thisComp.layer("controller").transform.position[1];
d = c - [c - b];[a, d]