blockly > Gesture > startWorkspace_
Gesture.startWorkspace_ property
The workspace that the gesture started on. There may be multiple workspaces on a page; this is more accurate than using Blockly.common.getMainWorkspace().
Signature:
protected startWorkspace_: WorkspaceSvg | null;
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."],[[["`Gesture.startWorkspace_` stores the specific workspace where a gesture originated."],["This property provides more accuracy than using `Blockly.common.getMainWorkspace()` when multiple workspaces exist on a page."],["`Gesture.startWorkspace_` is a protected property with a type of `WorkspaceSvg` or `null`."]]],[]]