Skip to main content

@mapgear/geoapps > Screen > GetBlockBySlot

Screen.GetBlockBySlot() method

Get the block that is linked to a specified slot

Signature:
GetBlockBySlot(slot: number): Block;

Parameters

ParameterTypeDescription
slotnumberSlot of the block to retrieve
Returns:

Block

The specified Block, or undefined if it doesn't exists