Namespacescommonblockly.common_namespace.setmainworkspace_1_functionOn this page blockly > common > setMainWorkspace common.setMainWorkspace() function Sets last used main workspace. Signature: export declare function setMainWorkspace(workspace: Workspace): void; Parameters ParameterTypeDescriptionworkspaceWorkspaceThe most recently used top level workspace. Returns: void