blockly > BlockSvg > workspace
BlockSvg.workspace property
Signature:
workspace: WorkspaceSvg;
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."],[[["This property refers to the `WorkspaceSvg` object that the `BlockSvg` instance belongs to."],["The `workspace` property provides a way to access the workspace associated with a specific block, enabling interaction with the block's environment."]]],["The `BlockSvg.workspace` property, of type `WorkspaceSvg`, is defined within the Blockly library. It is accessible through the `BlockSvg` class. This property directly represents the SVG workspace to which a specific block belongs. It provides a reference to the workspace object allowing manipulation and access to properties of the visual workspace.\n"]]