Home > blockly > dragging > Dragger > shouldReturnToStart
dragging.Dragger.shouldReturnToStart() method
Returns true if we should return the draggable to its original location at the end of the drag.
Signature:
protected shouldReturnToStart(e: PointerEvent, rootDraggable: IDraggable): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| e | PointerEvent | |
| rootDraggable | IDraggable |
Returns:
boolean