Jump to content
Search Community

Movecloser

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Movecloser

  1. Hi, how to do it in gsap3.

     

    this don`t work :(

     

    var tl1 = gsap.timeline();
    tl1.to(...); //add whatever animations.
    
    var tl2 = gsap.timeline();
    tl2.to(...); //add whatever animations
    
    var tl3 = gsap.timeline();
    tl3.to(...); //add whatever animations;
           
    var master = gsap.timeline();
    master.add(tl1).add(tl2).add(tl3);
    
    //now you can control everything with master!
    
    //jump to the middle of the entire sequence, for example
    master.progress(0.5);

     

×
×
  • Create New...