an Array of active tweens/timelines
GreenSock Docs
TimelineMax
.getActive()
Returns the tweens/timelines that are currently active in the timeline, meaning the timeline's playhead is positioned on the child tween/timeline and the child isn't paused.
Parameters
nested: Boolean
(default = true
) — Determines whether or not tweens and/or timelines that are inside nested timelines should be returned. If you only want the “top level” tweens/timelines, set this to
false
.
tweens: Boolean
(default = true
) — Determines whether or not tweens (TweenLite and TweenMax instances) should be included in the results
timelines: Boolean
(default = false
) — Determines whether or not child timelines (TimelineLite and TimelineMax instances) should be included in the results
Returns : Array

Details
Returns the tweens/timelines that are currently active in the timeline, meaning the timeline's playhead is positioned on the child tween/timeline and the child isn't paused.