src/virtual-machine.js
/**
     * Remove a target from a drag state, so blocks may begin affecting X/Y position again
     * @param {string} targetId The id for the target to remove from the drag state
     */
Remove a target from a drag state, so blocks may begin affecting X/Y position again
@param {string} targetId The id for the target to remove from the drag state
Remove a target from a drag state so blocks may begin affecting X / Y position again @param { string } targetId The id for the target to remove from the drag state
stopDrag (targetId) {
        const target = this.runtime.getTargetById(targetId);
        if (target) {
            this._dragTarget = null;
            target.stopDrag();
            this.setEditingTarget(target.id);
        }
    }
stopDrag ( targetId ) { const target = this . runtime . getTargetById ( targetId ) ; if ( target ) { this . _dragTarget = null ; target . stopDrag ( ) ; this . setEditingTarget ( target . id ) ; } }
Remove a target from a drag state, so blocks may begin affecting X/Y position again
 @param {string} targetId The id for the target to remove from the drag state
Remove a target from a drag state so blocks may begin affecting X / Y position again @param { string } targetId The id for the target to remove from the drag state