When I use set() after addPause() in a timeline, the set() takes effect after the previous tween and does not wait for a resume. Is there a reason why set() is being executed after the previous tween, (the immediateRender is false by default in this case, as far as I know), even though I have 'addPause()' ?
const t = gsap.timeline();
t.to(".box", { x: 200, duration: 2});
t.addPause()
t.set(".box", { backgroundColor: "red"}); // Does not wait until resume/play is called
t.to(".box", { x: 10, duration:2 });
t.play();