Jump to content
Search Community

sneaky

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by sneaky

  1. When I create a timeline like this

                var tl = new TimelineMax({
                    repeat : 5
                }).to(arm, duration, {
                    scaleX : 1.05,
                    scaleY : 0.95,
                    transformOrigin : to
                }).to(leg, duration, {
                    scaleX : 1,
                    scaleY : 1,
                    transformOrigin:to
                });

    how can I get the objects from tl, that I passed to it when making it. Basically I am looking for something like:

    tl.getElements();
    

    which gives me

    [arm, leg]

    Does anyone know how to do this?

     

    Thanks

     

×
×
  • Create New...