Copy link to clipboard
Copied
Dear community,
I've encountered an expression challenge while working on a template. In short, I need to link two specific keyframes (with the same value) to a slider control or a similar solution.The other two keyframes denote the in position with a different x value. In the attached screenshot, I've highlighted the two keyframes, which need to be controlled and represent the out position for a shape layer. Has anyone faced a similar issue and found a solution?
Thanks a lot!
Copy link to clipboard
Copied
It depends on exactly what you're doing, but it might be like this:
s = effect("Slider Control")("Slider");
if (time < key(2).time)
ease (time, key(1).time, key(2).time, [s,key(1).value[1]],key(2).value)
else if (time < key(3).time)
value
else
ease(time, key(3).time, key(4).time, key(3).value, [s,key(4).value[1]])
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more