-
Using expression to reverse animation done by expressions?
Hi, I will try my best to explain what I would like to do.
Basically, I am trying to create a mogrt for a lower third, and I want the Premiere Pro user to easily be able to change the transition duration, as well as the whole duration of the lower third, by typing in the respective durations. I have managed to use expressions with some sliders to animate it in:
content(“Rectangle 1”).content(“Rectangle Path 1”).size
t1 = inPoint;
t2 = t1+effect(“Transition”)(“Slider”);
t3 = effect(“Duration”)(“Slider”)-t2;
t4 = effect(“Duration”)(“Slider”);
v1 = [0,effect(“Width”)(“Slider”)];
v2 = [effect(“Height”)(“Slider”),effect(“Width”)(“Slider”)];
ease(time,t1,t2,v1,v2);
and if I change the last line to
ease(time,t3,t4,v2,v1);
I can get the out animation that I want (which is basically reversing the in animation). However, I don’t know how to get the whole thing to animate in, and then animate out. I can only have one or the other. I am very new to expressions, so any guidance/other solutions will be much appreciated!