Jump to content


First attempt at draggable - no easing

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts



Maybe I have missed something but I cannot get my draggable to have the nice easing like the example.


See codepen.





See the Pen vciGt by anon (@anon) on CodePen

Link to comment
Share on other sites

Hello Roscoeh, and Welcome to the GreenSock Forum


That easing is actually one of the 12 Principles of Animation called overshoot, and is made possible by the GSAP ThrowPropsPlugin , which is a ShockinglyGreen and higher License membership benefit.


View this page for more info: http://greensock.com/club/


Also if you look at the Draggable instance in your example it has throwProps: true .. that means Draggable needs the ThrowPropsPlugin script.


More info about ThrowPropsPlugin found here: http://greensock.com/docs/#/HTML5/GSAP/Plugins/ThrowPropsPlugin/


Taken from ThrowPropsPlugin Docs page:

ThrowPropsPlugin is a Club GreenSock membership benefit. You must have a valid membership to use this class without violating the terms of use. Visit http://www.greensock.com/club/ to sign up or get more details.


Another example that uses Draggable and ThrowPropsPlugin by GreenSock:


See the Pen gnoDc by GreenSock (@GreenSock) on CodePen


I hope this helps! :)

  • Like 2
Link to comment
Share on other sites

Yup, Jonathan is exactly right about ThrowProps being a bonus we offer to Club GreenSock members.


However you are perfectly welcome to take it for a spin (ha) using our CodePen demos.


I forked your demo and added the ThrowProps script (click the gear next to the JS tab)



Also, feel free to experiment with and fork ANY of our Draggable / ThrowProps demos:


  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.