Jump to content
Search Community

Vitor Martins

Members
  • Posts

    2
  • Joined

  • Last visited

Vitor Martins's Achievements

  1. You got it right! I have tried the loop.toIndex(0, {duration: 0}) but it wasn't working due to some props my horizontalLoop function was missing. I compared my code with yours and worked after a few changes on mine. Thank you!!!
  2. Hi, based on the horizontalLoop function -> https://greensock.com/docs/v3/HelperFunctions#loop DEMO WITH DRAGGABLE (with "center: true" and onChange features), I want to have the first element starting on the center as well, basically the center element changes based on the viewport size, but my goal is to start the animation with it in the center. Here is an ideia of what i want to achieve -> public-image.co Thanks!
×
×
  • Create New...