blockly > RenderedConnection > moveToOffset

RenderedConnection.moveToOffset() method

Move this connection to the location given by its offset within the block and the location of the block's top left corner.

Signature:

moveToOffset(blockTL: Coordinate): boolean;

Parameters

Parameter Type Description
blockTL Coordinate The location of the top left corner of the block, in workspace coordinates. True if the position of the connection in the connection db was updated.

Returns:

boolean