blockly > Events > Abstract > getEventWorkspace_

Events.Abstract.getEventWorkspace_() method

Get workspace the event belongs to.

Signature:

getEventWorkspace_(): Workspace;

Returns:

Workspace

The workspace the event belongs to.

Exceptions

{Error} if workspace is null.