Hi guys
I'm trying to figure out how to pause a timeline (between these .to) then add a button to resume the playback from the pause point. Any help would probably save me hours banging my head against a wall
.to("element", {
delay: -1,
opacity: 1,
y: "0",
duration: 1.5,
ease: Power4.easeOut,
})
.to("element", {
delay: 5,
opacity: 0,
y: "-100vh",
duration: 1.5,
ease: Power4.easeOut,
})