Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Stopping a time* expression

  • Stopping a time* expression

    Posted by John Erdman on August 31, 2015 at 11:53 pm

    Hi,

    I have an image continuously scrolling across the screen at a constant rate, using the Offset effect.
    I’ve applied this expression to the Offset’s x,y parameters:

    rate = -450;
    value + [rate*time,0]

    I’ve also parented other layers to this expression to move with it. It works, but my problem is, I need it to come to a full stop occasionally, or just freeze. Is there a way to stop/start this expression using keyframes on a Checkbox or Slider control?

    Thanks

    John Erdman replied 10 years, 8 months ago 1 Member · 1 Reply
  • 1 Reply
  • John Erdman

    September 1, 2015 at 5:58 am

    I solved this one with the help of Dan Ebberts’ Motion script page–

    Parenting the variable, (in this case, the “-450” in line one), to a slider with the Hold Frame expression from this page https://motionscript.com/articles/speed-control.html
    made it work perfectly.

    Be sure make the sure the variables are consistent. I changed “rate” to “spd” in this case.

    Props to Dan Ebberts

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