Skip to main content

blockly > dragging > BlockDragStrategy > getTargetBlock

dragging.BlockDragStrategy.getTargetBlock() method

Returns the block to use for the current drag operation. This may create and return a newly instantiated block when e.g. dragging from a flyout.

Signature:

protected getTargetBlock(): BlockSvg;

Returns:

BlockSvg