Skip to main content

Home > blockly > RenderedConnection > moveBy

RenderedConnection.moveBy() method

Change the connection's coordinates.

Signature:

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

Parameters

ParameterTypeDescription
dxnumberChange to x coordinate, in workspace units.
dynumberChange to y coordinate, in workspace units.

Returns:

boolean

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