@mapgear/geoapps > Screen > GetBlockBySlot
Screen.GetBlockBySlot() method
Get the block that is linked to a specified slot
Signature:GetBlockBySlot(slot: number): Block;
Parameters
| Parameter | Type | Description |
|---|---|---|
| slot | number | Slot of the block to retrieve |
The specified Block, or undefined if it doesn't exists