<https://greensock.com/forums/topic/20011-getchildren-on-timeline-with-stagger/#comment-93251>
<http://schema.org/text>
"Thanks Buddy!!! I learned from the best  \n\n\n\t \n \n\n\n\tThe one option I can think, by looking at the GSAP code is extend TimelineLite prototype.\n \n\n\n\t \n \n\n\n\tSince get labels array is quite simple:\n \n\n\n\t \n \n\n\n\thttps://github.com/greensock/GreenSock-JS/blob/master/src/uncompressed/TimelineMax.js#L431\n \n\n\n\t \n \n\n\n\tAnd TimelineLite has a labels object just like it's Max counterpart:\n \n\n\n\t \n \n\n\n\thttps://github.com/greensock/GreenSock-JS/blob/master/src/uncompressed/TimelineLite.js#L25\n \n\n\n\t \n \n\n\n\tThis shouldn't return any problem (running some simple tests doesn't create an issue):\n \n\n\n\t \n \n\n\nTimelineLite.prototype.getLabelsArray = TimelineMax.prototype.getLabelsArray;\n\n\n\t \n \n\n\n\tUnless there is something I'm not totally aware of, in which case our beloved leader and tween-guide spirit @GreenSock could warn us against this.\n \n\n\n\t \n \n\n\n\tAlthough this doesn't actually resolves anything as far as the original question, because still there is no way to introduce more than two labels in the main TimelineMax instance that holds the stagger methods. Unless Jack comes up with a new element in the API that allows dynamic labels in stagger methods using a base name for them and switching to TimelineMax. But IMHO it doesn't sound too useful, I'd go with the loop in order to add the animations to a TimelineMax instance.\n \n"
<https://greensock.com/forums/topic/20011-getchildren-on-timeline-with-stagger/#comment-93255>