Jump to content
Search Community

neeh

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by neeh

  1. Hi there,

     

    I'm trying to make an animation to repeat infinitely with a TimelineMax instance that includes a pause.

     

    var tl = new TimelineMax({ repeat: -1 })
      .to(repeatWithPause, 0.5, { rotation: 180 })
      .to(repeatWithPause, 0.5, { rotation: 0 })
      .addPause(1.0);

     

    You can see in the codepen what I've tried so far. It seems I'm able to repeat several times the first animation. But as soon as I add a pause in the timeline, only the first iteration is played. The same applies for repeat > 1 and when the addPause() isn't at the end of the timeline.

     

    I might be doing something wrong.

     

    Any help appreciated.

    See the Pen qXVXLY by hekat (@hekat) on CodePen

×
×
  • Create New...