-
values between markers
hi,
this is my problem. I have placed a set amount of markers on a null object which i have linked via Dan Ebbert’s expression (see below) to a slide control. At each marker the value increases by 1 (in whole numbers) So far so good. What I am trying to achieve though is to have an expression in place that will give me all the values between the whole numbers too, i.e. 1,1 1,2 1,3 etc… is there a way? any help is much appreciated.
thanksCurrent expression:
n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time){
n–;
}
}n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time){
n--;
}
}