-
if/then and index to create opposing rotation per layer
I’m trying to have every other layer start it’s rotation at 90 and -90 and then ease into it’s initial value. The way I have it written now seems to disregard index values and just bases it off of what I enter into the line
“n=index-90”Thanks,
Brandonstart =
n=index-90;
i=(index%2)-n;
if (i=1){ n=90 }else{ n=-90};
end = value;ease(time, 0, 2 + (index*thisComp.frameDuration), start, end)