blockly > IBlockDragger > drag
IBlockDragger.drag() method
Execute a step of block dragging, based on the given event. Update the display accordingly.
Signature:
drag(e: Event, currentDragDeltaXY: Coordinate): void;
Parameters
Parameter | Type | Description |
---|---|---|
e | Event | The most recent move event. |
currentDragDeltaXY | Coordinate | How far the pointer has moved from the position at the start of the drag, in pixel units. |
Returns:
void