blockly > RenderedConnection > moveBy

RenderedConnection.moveBy() method

Change the connection's coordinates.

Signature:

moveBy(dx: number, dy: number): boolean;

Parameters

Parameter Type Description
dx number Change to x coordinate, in workspace units.
dy number Change to y coordinate, in workspace units.

Returns:

boolean

True if the position of the connection in the connection db was updated.