Jump to content
Search Community

ben.harwell.gdt

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by ben.harwell.gdt

  1. I'm looking to reverse the TimelineMax onComplete but I can't seem to get it to work. I'm new to this library, there are probably better ways to achieve what I want here. I'll list out the goals:

     

    • Auto play a tween of the blocks from left to right (working in this Codepen)
    • On mouseover and eventually on touchover reverse the animation with reduced speed and continue to move (working in this Codepen)
    • When the animation goes fully out of the window reverse and come back across the other way (not working)

     

    I've tried a few different ways/options but no luck so far. Any help would be appreciated.

     

    See the Pen GBMgVR by ben-harwell (@ben-harwell) on CodePen

×
×
  • Create New...