blockly > Input > connection
Signature:
connection: Connection | null;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["`Input.connection` provides a way to access the `Connection` object associated with a particular input on a Blockly block."],["This property can be used to programmatically connect or disconnect blocks, or to inspect the existing connections of a block."],["The value of `Input.connection` is either a `Connection` object, representing the connection point for this input, or `null` if this input does not have a connection."]]],[]]