Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Control when a comp starts to play in a timeline with a slider.

  • Control when a comp starts to play in a timeline with a slider.

    Posted by Merlin Nation on September 4, 2018 at 3:12 pm

    Hello there,

    I would like to be able to control when a pre-comp starts playing in a timeline with a slider. So I can set a delay amount in frames for when an animation starts. This will be to use it in a motion graphics template for Premiere. I imagine it’s an expression to add to time-remapping on the comp layer?

    Any help will be very gratefully received so thanks in advance!

    Merlin Nation replied 7 years, 12 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 4, 2018 at 5:10 pm

    Something like this probably (Time Remapping):

    f = effect(“Slider Control”)(“Slider”); // frames offset
    t = framesToTime(f);
    Math.max(time-t,0)

    Dan

  • Merlin Nation

    September 6, 2018 at 10:09 am

    That works perfectly Dan!
    Thanks very much.

    All the best.
    Merlin

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