Skip to main content

Home > blockly > BlockSvg > drag

BlockSvg.drag() method

Drags the block to the given location.

Signature:

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

Parameters

ParameterTypeDescription
newLocCoordinate
ePointerEvent(Optional)

Returns:

void