Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Control Time Remap with Slider

  • Control Time Remap with Slider

    Posted by Kyle Maven on October 14, 2019 at 5:40 pm

    I am looking to control the time remap of a composition by using a slider which is also connected to other attributes for an essential graphics pre-comp. What I want is to use the linear expression but I can’t seem to figure it out. When the slider values are between 0 and 100, I want the time remap to be between 0:00:00:00 and 0:00:00:12. This is what I have so far.

    My comp is at 24fps

    src = thisComp.layer("Control").effect("Slider Control")("Slider");

    linear(src, 0, 100, 0, 12)

    Kyle Maven replied 6 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 14, 2019 at 6:04 pm

    Try it like this:

    src = thisComp.layer(“Control”).effect(“Slider Control”)(“Slider”).value;
    f = linear(src, 0, 100, 0, 12);
    framesToTime(f)

    Dan

  • Kyle Maven

    October 14, 2019 at 6:23 pm

    Perfect!

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