blockly > RenderedConnection > getOffsetInBlock

RenderedConnection.getOffsetInBlock() method

Get the offset of this connection relative to the top left of its block.

Signature:

getOffsetInBlock(): Coordinate;

Returns:

Coordinate

The offset of the connection.