How it works
Implement in Webflow
Apply the attributes to the elements inside the page
Below is a list ofelements andoptions to apply the GSAP draggable effect.
wrapperI want to set thisDiv Blockas the wrapper of the draggable elements and the reset button.componentI want theseImagesorDiv Blocksto get the draggable effect.reset buttonI want thisButtonto reset the draggable animation.Optioncard rotationI want to state how sensitive the rotation is to dragging.Optionreset durationI want to state how fast the card returns to center when released.Optionthrow durationI want to state how long it takes to throw a card off-screen.Optionthrow distanceI want to state how far the card gets tossed.Optionthrow rotationI want to state how much the card spins when tossed.OptionthresholdI want to set how far you need to drag to trigger a throw.OptiondelayI want to state how long to wait before initializing the next card.OptioneaseI want to state what easing function to use across the entire draggable animation experience.