Blockly moved to the Raspberry Pi Foundation on November 10, 2025! Read the
blog post
and the
FAQ.
Stay organized with collections
Save and categorize content based on your preferences.
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."],[],["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"]]