blockly > Options > maxBlocks

Options.maxBlocks property

Signature:

maxBlocks: number;