Hello @ZachSaucier ,
I still have an issue with the starting values. I am very sorry to ask you again, I tried many things but I still don't understand why I don't get the expected result.
I integrated the draggable plugin to edit the box positions for tween3
When creating the timeline, [x,y] are functions which get the data.
x: () => {return d['x']},
y: () => {return d['y']},
In my example, I would like to edit the [x,y] values of tween3 when dragEnd.
I update my data array, then I invalidate the timeline to update its cache with the new values from the array. As I understood, it should run functions to update the timeline data from the array at next render.
The issue is that it's also changing the initial state. And tween3 positions are tween2 positons. Do you know why ?
How to update values of tweens of the timeline ?
https://codepen.io/teddy-sockeel/pen/jOrxdMG
Thank you for your help