Capítulo 53 de 411

Chapter 53: Timeline.getChildren()

Core Idea

getChildren() returns an array of the tweens/timelines nested inside this timeline, with filters for nesting depth and type.

Reference Tables

ParameterTypeDefaultDescription
nestedBooleantrueinclude children of nested timelines too
tweensBooleantrueinclude tweens
timelinesBooleantrueinclude nested timelines
ignoreBeforeTimeNumber-9999999999skip children that end before this time

Code Examples

tl.getChildren(false); // top-level children only