Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Moving null object using time*value of slider control

  • Moving null object using time*value of slider control

    Posted by Eric Bowman on November 19, 2014 at 5:13 pm

    I simply want to have a null object animate from right to left based upon the slider value, then when the slider value drops to zero I want that null object to stop.

    Here’s my current expression that is close to what I need. Or maybe it’s really way off…I’m not great with expressions yet:

    moveX=time*effect("time stop")("Slider");
    [moveX,transform.position[1]]

    So the expression is causing the null object to animate correctly in the x position over time unless I drop it to zero. I want to be able to keyframe the slider from say 50 to 0, which would stop the null object. With the expression above, the null object returns to its start position instead of just slowing down to a stop.

    I’ve played around with using valueAtTime, but I guess I’m too green to make it work. It seems that the expression is returning the null object to its initial value. I hope I’ve explained this well enough, and I appreciate any advice you guys can throw my way. Thanks for reading!

    Eric Bowman
    AssemblyCreative.com

    Eric Bowman replied 11 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies

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