Skip to main content

blockly > Toolbox > selectItemByPosition

Toolbox.selectItemByPosition() method

Selects the toolbox item by its position in the list of toolbox items.

Signature:

selectItemByPosition(position: number): void;

Parameters

Parameter

Type

Description

position

number

The position of the item to select.

Returns:

void