blockly > KeyboardMover > abortMove
KeyboardMover.abortMove() method
Abort moving the currently-focused item on workspace.
Signature:
abortMove(event?: KeyboardEvent | PointerEvent): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
event | KeyboardEvent | PointerEvent | (Optional) The event that triggered the end of the move, if any. |
Returns:
boolean
True iff move successfully aborted.