blockly > RenderedConnection > sourceBlock_
RenderedConnection.sourceBlock_ property
Signature:
sourceBlock_: BlockSvg;
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."],[[["`sourceBlock_` is a property of the `RenderedConnection` class in Blockly, holding a reference to the `BlockSvg` instance that the connection belongs to."],["This property stores the block that this connection originates from, enabling navigation and interaction between connected blocks within the Blockly workspace."]]],["The `RenderedConnection.sourceBlock_` property, of type `BlockSvg`, represents a core element within a block-based programming environment. It directly references the `BlockSvg` instance, which is the visual representation of a block. This property essentially links a connection point to its parent block, indicating the block to which the connection belongs. This `sourceBlock_` property is essential for understanding the block's context and relationship within the program.\n"]]