Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects index of effect, not layer?

  • index of effect, not layer?

    Posted by Andy Engelkemier on January 18, 2010 at 8:12 pm

    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?

    Andy Engelkemier replied 16 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy