blockly > blockRendering > Renderer > shouldHighlightConnection

blockRendering.Renderer.shouldHighlightConnection() method

Determine whether or not to highlight a connection.

Signature:

shouldHighlightConnection(_conn: Connection): boolean;

Parameters

Parameter Type Description
_conn Connection The connection to determine whether or not to highlight.

Returns:

boolean

True if we should highlight the connection.