-
Effect Name or index?
So I recently did something with 10 beam effects applied to the same layer. I set the start and end point of each beam according to a formula, based on a variable I called “i.”
Now, in this case, I just went ahead and set i=1, i=2, i=3 etc. for each beam effect. And this meant I had to set it for both the start point and end point of each.
But it got me to wondering. Is there a way to either:
1) Get the numerical index of the effect, in the sense if this beam is the 4th effect applied to this layer in order, then I want to get the number 4.
2) Get the name of the effect (not the layer) and extract a number from that. (I can easily create beam1 beam2 beam3 just through duplication.)