blockly > Block > nextConnection
Block.nextConnection property
Signature:
nextConnection: 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."],[[["`nextConnection` property dictates the connection point on a Block where the next Block in a sequence can attach."],["This property can either be a `Connection` object representing the connection point, or `null` if the Block doesn't allow subsequent connections."]]],["The `Block.nextConnection` property, which is part of the Blockly library, represents a connection point on a block. This property can either be a `Connection` object or `null`. It signifies the connection to the subsequent block in a sequence. If a block has no following block, the `nextConnection` property will be `null`; otherwise, it will contain the `Connection` object linking it to the next block.\n"]]