Forums › Adobe After Effects Expressions › Anyway to link In and Out to a slider?
-
Anyway to link In and Out to a slider?
-
stefan whitt
June 14, 2022 at 3:56 pmI 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
June 14, 2022 at 3:58 pmyes 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 pmYou 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 pmbut 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
-
Dan Ebberts
June 15, 2022 at 4:07 pmSure, 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 pmI 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
Log in to reply.