-
index of effect, not layer?
I thought I’d make a line of circles using an expression. I try to use expressions when I have some extra time so i know how to use them when I need them.
I’m trying to do this on a single layer.
I made a distance slider up top, then use the circle effect multiple times.
so I did this, to start:
dist = effect(“distance”)(“Slider”);
cX = effect(“Circle”)(“Center”)[0];
cY = effect(“Circle”)(“Center”)[1];
moveDist = dist * (??? effect parameter index -1 ???));
[cX + moveDist, cY]Obviously I don’t know what to put in line 4 there between the question marks. That’s just what I’d like to put, but can’t find how to do it. I can find how to call the index, but nothing that returns the current effect’s index.
How do I get afterEffects to send back the index# of the effect the script is in?
Sorry, there were no replies found.