blockly > KeyboardMover > startMove
KeyboardMover.startMove() method
Start moving the currently-focused item on workspace, if possible.
Signature:
startMove(draggable: IDraggable, event?: KeyboardEvent): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
draggable | The element to start moving. | |
event | KeyboardEvent | (Optional) The keyboard event that triggered this move. |
Returns:
boolean
True iff a move has successfully begun.