Forums › Adobe After Effects Expressions › Link a work area to a slider
-
Link a work area to a slider
-
Emine Bergsoj
July 1, 2022 at 9:06 amHi everybody!!
I’d like to find a way to allow users to modify the moment when the animation out is played. I joined a screenshot; the yellow area is the animation out, defined by a marker (work area). Is it possible to link this work area/the end of a layer (pink arrow) to a slider ?
I hope you will understand what I mean… ^^
Thanks,
-
Dan Ebberts
July 1, 2022 at 3:13 pmIt would depend on how you have your out animation set up, but you could do something like this:
t = Math.max(time - thisComp.layer("CTRL").effect("DURATION IN SEC")("Slider"),0);
valueAtTime(t)
-
Emine Bergsoj
August 2, 2022 at 12:05 pmThanks for your answer Dan,
But I tried and it doesn’t work… On wich parameter do I have to tape this?
-
Dan Ebberts
August 2, 2022 at 2:52 pmI think I was assuming Time Remap.
Viewing 1 - 4 of 4 posts
Log in to reply.