Skip to main content

blockly > KeyboardMover > finishMove

KeyboardMover.finishMove() method

Finish moving the item that is currently being moved.

Signature:

finishMove(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 finished.