Search the Community
Showing results for tags 'draggables'.
I'm a bit puzzled by the Draggable update function https://greensock.com/docs/v3/Plugins/Draggable/update(). It doesn't seem to do anything, even in Blake's demo https://codepen.io/osublake/pen/JBwxjr Commenting out this.update() still works. In my added Codepen I change the position of a draggable in 3 different ways, and either update is not needed, or it doesn't help.
Hi Guys, I am trying to create drag and drop using drag-gable and hittest method.i stuck trying to achieve below task * I want to place my drag-gable(represented in blue in the image) to position, scale(achieved by setting width and height of drop-area) and fit inside the drop-area but i am not able to get position of droparea correctly to position my drag-gable .i tried draggable.updated() method which just sticks drag-gable to user onDragEnd event . Please let me know,how can i achieve desired result. Thanks in advance.