Search the Community
Showing results for tags 'edgeresistance'.
See the Pen Draggable "Toss" Demo (4col) by GreenSock (@GreenSock) on CodePen. See many of Draggables properties in action including bounds, liveSnap, snap, edgeResistance and more. This demo is a great starting point to get familiar with Draggable and ThrowProps plugin. Fork, edit and enjoy! Be sure to read the [docs id="js.Draggable" linktext="Draggable Documentation"].
Hi gs forums, I love GSAP, the best tool for animating on the web by far. Been dabbling with draggable plugin for quite a while and was wondering is there a way apply increasing edge resistance based on distance from container instead of applying full amount of resistance once the draggable hits the edge? something like applying a function instead of a float var maybe? its a little thing, but would make feel bit smoother, especially with the scroll option. Thanks in advance!