blockly > dragging > BlockDragStrategy > drag

dragging.BlockDragStrategy.drag() method

Moves the block and updates any connection previews.

Signature:

drag(newLoc: Coordinate): void;

Parameters

Parameter Type Description
newLoc Coordinate

Returns:

void