Jump to content
GreenSock

TimelineMax

.getActive()

.getActive( nested:Boolean, tweens:Boolean, timelines:Boolean ) : Array

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

an Array of active tweens/timelines

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.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×