Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects How to stop slowly an expression?

  • How to stop slowly an expression?

    Posted by Daniel Gómez on May 27, 2013 at 1:41 am

    Hello everyone!

    I’ve created a composition with a small square inside. I want this square to rotate just 5 seconds, so I’ve made this expression to rotate the layer 72 degrees per second:

    if (time <5) time*72 else 0

    It works perfectly, but I wonder if there is any way to make the square stop slowly and not that abrupt.

    Sorry for my english and thank you very much for your time 🙂

    Daniel Gómez replied 12 years, 11 months ago 3 Members · 4 Replies
  • 4 Replies
  • Tero Ahlfors

    May 27, 2013 at 7:04 am

    Maybe you could link the expression to a slider control.

  • Daniel Gómez

    May 27, 2013 at 12:08 pm

    Thank you very much for answering 🙂

    I tried to build the expression linking it to a slider control, but I’m not getting what I need. Not because After Effects; because of me, of course.

    This is my project, right now: 6062_rotatingsquare.aep.zip

    I want the square to be rotating regularly until it gets the second number five, where it’s going to stop slowly, as if I’d used “Easy Ease In”.

    Hope I explained well. Thanks a lot again!

  • John Cuevas

    May 27, 2013 at 1:58 pm

    Try using an easeOut expression on your rotation: easeOut(time, 0, 5, 0, 360)

    I made a simple project using one, but did it over 20 seconds, because over 5 seconds, it seemed too fast: 6065_easeoutcs5.5.aep.zip

    Johnny Cuevas, Editor
    Thinkck.com

    “I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
    —THOMAS EDISON on inventing the light bulb.

  • Daniel Gómez

    May 28, 2013 at 10:43 am

    So helpful! Thank you very much. I appreciate your help 🙂

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