Jump to content
GreenSock

TimelineMax

.getTweensOf()

.getTweensOf( target:Object, nested:Boolean ) : Array

Returns the tweens of a particular object that are inside this timeline.

Parameters

target: Object

The target object of the tweens

nested: Boolean

(default = true) — Determines whether or not tweens that are inside nested timelines should be returned. If you only want the “top level” tweens/timelines, set this to false.

Returns : Array

an Array of TweenLite and/or TweenMax instances

Details

Returns the tweens of a particular object that are inside this timeline.

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.
×