blockly > WorkspaceSvg > startDrag
WorkspaceSvg.startDrag() method
Start tracking a drag of an object on this workspace.
Signature:
startDrag(e: PointerEvent, xy: Coordinate): void;
Parameters
Parameter | Type | Description |
---|---|---|
e | PointerEvent | Pointer down event. |
xy | Coordinate | Starting location of object. |
Returns:
void