Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to Stop A Layer Trail?

  • How to Stop A Layer Trail?

    Posted by Ashwani Sharma on October 14, 2010 at 5:24 am

    Dear Mr. Dan Ebberts

    I have been going through your Master Expressions tutorial. Which is very useful.
    The only thing I could not do after going through the well described tutorial is “How to stop the trail for some time (or forever) at a given point of time?”

    I hope to get the answer at the earliest.

    regards

    Ashwani Kumar
    India

    Ashwani Sharma replied 15 years, 7 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    October 14, 2010 at 7:58 am

    Which expression are you looking at, and what do you mean by “stop the trail”?

    Dan

  • Ashwani Sharma

    October 14, 2010 at 8:37 am

    Sir
    I am using the following expression from your document Mastering Expressions.

    delay = 5; //number of frames to delay
    d = delay*thisComp.frameDuration;
    thisComp.layer(index – 1).position.valueAtTime(time – d)

    Following expression is applied to the Top layer (to create a circular motion):
    [(thisComp.width/2), (thisComp.height/2)] + [Math.sin(time)*250, -Math.cos(time)*250]

    Subsequent layers are having your expression to create a trail.

    Now I would like to STOP the TRAIL at some point of time. So that the entire trail is visisble. Normally what happens all the layers acquire same position after completing the circular motion (if I made to stop the TOP layer).

    Kindly help me.

    regards

    Ashwani Kumar
    India

  • Dan Ebberts

    October 14, 2010 at 8:43 am

    Did you try the variation farther down the page, in the section titled “Follow the Null”? That version lets you stop the trail, and even back up if you want to. That’s probably more what you’re looking for.

    Dan

  • Ashwani Sharma

    October 14, 2010 at 9:12 am

    Thankyou Sir

    It is working.

    You are great.

    Once again many many thanks for prompt reply.

    regards

    Ashwani Kumar
    India

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