Hi! i'm new to gsap and i'm wondering how .paused() and .resume() are works
I have a case, when i need to hide (pause) specific tweens while timeline in playing state
but unhide (unpause) it when timeline is about to pause.
The problem is when I unpause tweens this instantly applies and changes the current state,
even if the tween with duration: 1 added to timeline.time(5), while we paused timeline in timeline.time(9)
I'm tried some tricks with .timeScale(0) and .timeScale(1) and combining other tween methods but nothing works correct :(
Is there any way to unpause tween without affecting the current state?
The pen
To reproduce it just click start button
and then after 2-3 seconds click pause button
Problem: red box moves after it.
Solution: red box should not moves after it.