-
Setting value of 2nd keyframe by null position
All.
Im stuck on what I thought was a pretty simple expression.
I have a simple 2 keyframe position animation.
I need Key1 to be the value it is currently, but the value of Key2 set by the position of a Null object.This will set the animation go from a set point to wherever the null is positioned.
I have this expression currently, but it’s not working.
Where have I gone wrong?TIA
p = thisComp.layer("END POINT").position;
v1 = key(1).value;
v2 = key(2).value;
linear(value[2],v1[2],v2[2],v1,p);