blockly > IBlockDragger > startDrag
IBlockDragger.startDrag() method
Start dragging a block. This includes moving it to the drag surface.
Signature:
startDrag(currentDragDeltaXY: Coordinate, healStack: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
currentDragDeltaXY | Coordinate | How far the pointer has moved from the position at mouse down, in pixel units. |
healStack | boolean | Whether or not to heal the stack after disconnecting. |
Returns:
void