Jump to content
GreenSock

Antdev

Members
  • Posts

    59
  • Joined

  • Last visited

Community Answers

  1. Antdev's post in gsap.to with a variable for the amount to move was marked as the answer   
    Doh! If I put my glasses on and read the documentation I would have read this:

    To use a variable in a relative way, simply add the "+=" or "-=" prefix, like {x: "+=" + yourVariable}.
     
    See the Pen vYpMzzj by antdev (@antdev) on CodePen

×