-
Can anyone tell me what is wrong with this expression?
I’m having a little triangle follow the growth of a line, pretty much a simple arrow.
The triangle has orient along path turned on and I rotated it 90 degrees so the tip points correctly, but on the first frame it looks wrong, so I added the 1st expression below, and that took care of the first frame issue.However the last frame, where the line growth gets to 100% has the same issue again, so I edited my expression to look like the second one, but then I get the following error:
Anyone knows why I can’t add a second condition to my statement using the > symbol?
Thanks in advance.
Quick edit, the website is not allowing me to put the < sign on the expression field, that's why it looks like a< or something like that.
a=thisComp.layer("linea").content("Trim Paths 1").end;
if
(a<=.0001)
{
0
}
else
90
——
a=thisComp.layer("linea").content("Trim Paths 1").end;
if
(a<=.0001 && >100);
{
0
}
else
90
