Skip to main content

Home > blockly > RenderedConnection > moveTo

RenderedConnection.moveTo() method

Change the connection's coordinates.

Signature:

moveTo(x: number, y: number): boolean;

Parameters

ParameterTypeDescription
xnumberNew absolute x coordinate, in workspace coordinates.
ynumberNew absolute y coordinate, in workspace coordinates.

Returns:

boolean

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