Thanks a lot Scott McGee. I used another method to get it to work from one of the previous answers posted on here. I’d already tried the ease method previously but couldn’t get it to work. So I used this method suggested by Oleg Pirogov from 2 weeks before for another user..
$.evalFile(‘PUT_YOUR_JSON_FILE_PATH_HERE’);
var dur = 0;
for (var i=0, len = arr.length; i=time) break;
}
i === len || i === len-1 ? arr[len-1].slider : linear(time, dur-arr[i].duration, dur, arr[i].slider, arr[i+1].slider);
(Jason file will be like below)
var arr = [{“ID”: 1, “slider”: 1000, “duration”: 4}, {“ID”: 2, “slider”:2000, “duration”: 4}, {“ID”: 3, “slider”: 3000, “duration”: 4}];
I applied this to the width property of the line/rectangle and it works.