-
Previous keyframe triggered movement
I have a layer I want to position differently if an expression control checkbox is ON vs OFF.
It is all working except it changes back as it approaches the next checkbox keyframe:
cb = thisComp.layer(“Controller”).effect(“Alert”)(“Checkbox”);
t = cb.nearestKey(time).time
value1 = [33.6667, 161.4107]
value2 = [33.6667, 141.4107]
dur = 1
start = t
end = t+durif (thisComp.layer(“Controller”).effect(“Alert”)(“Checkbox”) == true) ease(time, start, end, value1, value2)
else ease(time, start, end, value2, value1)How do I write it so that this animation only triggers AFTER the keyframe?
– Fletcher Groeneman