-
Toggle Hold value between keyframes?
Hello all,
I have a text layer, that’s set up to pull data from a text file. I’m taking values from sliders on separate layers to each keyframe on the timeline.
Everything is working, however, the value animates between the keyframes, and I’d like it to to snap at each keyframe. I have toggle hold keyframes applied, but they’re being over ridden by the expression.
Any ideas on how I may be able to achieve this? see expression below.
Many thanks,
Ronankey1 = thisComp.layer("range-1").effect("Slider Control")("Slider");
key2 = thisComp.layer("range-2").effect("Slider Control")("Slider");
if(numKeys > 1){
linear(time,key(1).time,key(2).time,key1,key2);
}else{
key1;
}