blockly > Workspace > hasBlockLimits

Workspace.hasBlockLimits() method

Checks if the workspace has any limits on the maximum number of blocks, or the maximum number of blocks of specific types.

Signature:

hasBlockLimits(): boolean;

Returns:

boolean

True if it has block limits, false otherwise.