GSAP TweenMax REPEAT Simple Animation

Viewed 10

Someone can help me out to understand where do i have to put the 'repeat:-1;' line in my code ? (So it can run over and over again). I know that i could use the TimelineMax but i'm new to script code and i can't manage to write the right thing in the right place ! Thanks for the help !

TweenMax.staggerFrom(
        ".container > .block",
        2,
        {
         
          y: "170%",
          ease: Expo.easeInOut,
          delay: 1,
  
        },
        3
      );

0 Answers
Related