Hi,
I wanted to receive a timelines endTime() from tl.recent(). Acc. to the docs tl.recent() is supposed to return Function | Timeline | Tween. However in my case it merely returns a Tween, so no chance for calling endTime() on it. Am I doing sth. wrong here?
What I'm trying to achieve is the following:
mainTl
.add(doSthFn)
.add(doSthThatTakesAWhileFn)
.add(() => doSthElseTherafterFn(), '>') // how can I position this AFTER doSthThatTakesAWhileFn properly?
In my case
doSthElseTherafterFn
keeps starting at the same time
doSthThatTakesAWhileFn
starts.
Note: in doSthThatTakesAWhileFn many things are added to mainTl, e.g. adding things in a loop a.s.o.
(I know this is actually two questions, still - I give it a try
Thanks