Hello,
I'm trying to animate an image with the help of Draggable.
I have adapted this example
See the Pen mdVEpKK by GreenSock (@GreenSock) on CodePen
with my dragger, I don't understand why it's not working.
Anyone can help me to understand?
Thank you!
See the Pen 3b7a798b2108f45ccfbc5bb4cac4aacf by scavaliere (@scavaliere) on CodePen
You've disabled the forking of your pens. Makes it really hard to copy your work and apply fixes for it, I had to manually copy over all the code to a new pen. Just FYI.
You have the variable control, but as far as I see you never update its value, it is always zero.
Personally when in doubt I use a timeline, so I've converted your tween to a timeline. This gets you more options and is overall more flexible.
My thought process was, I want to map the x axis mo