Stay organized with collections
Save and categorize content based on your preferences.
blockly > bubbles > Bubble > workspace
bubbles.Bubble.workspace property
Signature:
readonly 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`workspace` is a read-only property that returns the Blockly workspace associated with the bubble."],["This property provides access to the workspace, allowing interaction with it, such as adding or removing blocks."],["It's particularly useful for positioning the bubble relative to other elements within the workspace."]]],["The `workspace` property, found within the `Bubble` class in the `bubbles` namespace, is a read-only property. It holds an instance of `WorkspaceSvg`. This property provides access to the workspace associated with a specific bubble object. Essentially, it links a bubble UI element to its corresponding workspace environment.\n"]]