Skip to main content

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(coordinate: Coordinate, rootDraggable: IDraggable): boolean;

Parameters

Parameter

Type

Description

coordinate

Coordinate

rootDraggable

IDraggable

Returns:

boolean