-
Increase position with comp markers
Hello
I got the formula I wanted. (Thank you for Dan)
Only one frame of position movement.
I want to move my position to an animation for a few seconds
I can’t find the answer, so I’m asking you a question
—————————————————-
sy = effect(“Slider Control”)(“Slider”);
m = marker;
y = 0;
if (m.numKeys > 0){
n = m.nearestKey(time).index;
if (time < m.key(n).time) n–;
for (i = 1; i <= n; i++){
y += sy.valueAtTime(m.key(i).time);
}
}
value + [0,y]
—————————————————-
My English is poor Please understand.