blockly > BlockSvg > drag

BlockSvg.drag() method

Drags the block to the given location.

Signature:

drag(newLoc: Coordinate, e?: PointerEvent): void;

Parameters

Parameter Type Description
newLoc Coordinate
e PointerEvent (Optional)

Returns:

void