gsap.to(window, {duration: 0, scrollTo: from})
gsap.delay(time).to(window, {duration: speed, scrollTo: to})
gsap.to(window, {duration: 0, scrollTo: from}).delay(time).to(window, {duration: speed, scrollTo: to})
I was trying these two ways, but nothign works, anyone have any idea how can i do that in the correct way?