blockly > Block > childBlocks_
Block.childBlocks_ property
Signature:
protected childBlocks_: this[];
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."],[[["`childBlocks_` is a protected property of the `Block` class in Blockly, storing an array of child blocks connected to it."],["This property represents the hierarchical structure of blocks within a Blockly workspace, allowing navigation and manipulation of block relationships."]]],["The `Block.childBlocks_` property, a protected member, is an array of `Block` instances. It represents the child blocks directly connected to a given parent block. The property's type is `this[]`, indicating an array of objects of the same type as the class it belongs to. This array stores the immediate children, providing a way to navigate the hierarchical structure of interconnected blocks within a Blockly workspace.\n"]]