Hey all,
Long time reader, first time poster, here. I’m currently trying to apply the first expression listed (for right justified text) to the position of a solid layer. However, when I click away from the expression field after entering the script I get this error message:
———————————-
After Effects warning: Expected: ;
Expression disabled
Error occurred at line 3.
Comp: ‘Comp1’
Layer: 1 (‘White Solid 1’)
Property: ‘Position’
———————————-
I’m currently using a test comp while I try to figure this out. That’s why the above comp and layer names are generic. I received the same message within my actual project as well. I’m pretty inexperienced with expressions beyond the basics, so please forgive me if this is something really simple. Any support is greatly appreciated.
Thanks in advance,
-Mike H.
L = thisComp.layer(TEST);
for (i = 0; i
temp = L.sampleImage([i,thisComp.height/2],[0.5,thisComp.height/2],true,time);
if (temp[3] > 0) break;
}
[i,value[1]]