"argument 1 to ease() must be scalar"
I suppose there is an error getting x, y values at the same time but I can't see where is it. Any help?
Code: Select all
L =thisComp.layer("source") ;
M=comp("source").layer("White Solid 1");
m=marker.key(3)
m1=marker.key(4)
myComment=m.comment
myComment1=m1.comment
t1 = L.position.valueAtTime(marker.key(myComment).time);
t2 = L.position.valueAtTime(marker.key(myComment1).time);
t3 = M.position.valueAtTime(M.position.key(3).time);
t4 = M.position.valueAtTime(M.position.key(4).time);
ease(value,t1,t2,t3,t4);