-
missing ‘orientation’ property?
Anyone knows why I’m getting a missing layer/property error when I try this expression?
Error says:
property or method ‘orientation’ in Class ‘Group’ is missing or does not exist. It may have been renamed, etc. etc.Any help will be greatly appreciated.
C=comp("PANOS");
ctrl=C.layer(2).transform.orientation[0];
L=C.layer(thisComp.name);k1=C.layer(2).transform.orientation[0].key(1).value;
k2=C.layer(2).transform.orientation[0].key(2).value;x=ctrl.valueAtTime(time+L.startTime);
s=linear(x,k1,k2,0,160);
[100,s];