Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Anyway to link In and Out to a slider?

  • Anyway to link In and Out to a slider?

    Posted by Stefan Whitt on June 14, 2022 at 3:56 pm

    I have attached an image below, but I am hoping to have the in-point attached to a slider so for the template in premiere pro you can change when each element comes in to match the VO.

    Any other solution would be greatly appreciated, thank you!

    Adam Greenberg replied 1 year, 10 months ago 3 Members · 7 Replies
  • 7 Replies
  • Adam Greenberg

    June 14, 2022 at 3:58 pm

    yes you can, where is the image.

    and also, is there an ”out” we need to consider ?

  • Stefan Whitt

    June 15, 2022 at 7:33 am
  • Dan Ebberts

    June 15, 2022 at 2:30 pm

    You can’t control a layer’s in point with an expression, but you might be able to fake it in some situations. You could precomp your shape layer, turn on time remapping, add a slider, and add this time remapping expression:

    s = effect("Slider Control")("Slider");

    time - s

    You might also want to add this opacity expression:

    s = effect("Slider Control")("Slider");

    time -s < 0 ? 0 : value

  • Adam Greenberg

    June 15, 2022 at 3:28 pm

    but Dan, this could at least offset the animation with a slider

    add to the position property of the layer

    inpoint = thisComp.layer(“inpoint of animation”).effect(“Slider Control”)(“Slider”);

    thisComp.layer(“animation”).transform.position.valueAtTime(time-thisComp.layer(“inpoint of animation”).effect(“Slider Control”)(“Slider”))

    let me know your thoughts, Ill post the rig also

  • Adam Greenberg

    June 15, 2022 at 3:29 pm
  • Dan Ebberts

    June 15, 2022 at 4:07 pm

    Sure, instead of time remapping the precomped layer, you could attached each animated property to a time offset slider. You’d probably still need to also tie it to the layer’s opacity (unless, as in your example, it animates in from off screen).

  • Adam Greenberg

    June 15, 2022 at 4:17 pm

    I love your opacity expression, that will come in handy.

    Also, I`m not sure if what I suggested is really what the OP needs, but I had a similar project already set up, so i just copy, reduced it and shared just in case it was

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