Skip to main content

blockly > Block > setOutputShape

Block.setOutputShape() method

Set the block's output shape.

Signature:

setOutputShape(outputShape: number | null): void;

Parameters

Parameter

Type

Description

outputShape

number | null

Value representing an output shape.

Returns:

void