@mapgear/geoapps > Screen > RemoveBlock
Screen.RemoveBlock() method
Remove a block from the screen
Signature:RemoveBlock(block: Block): number;
Parameters
Parameter | Type | Description |
---|---|---|
block | Block | The block that is removed from the screen |
number
The slot of the block that is removed, or -1 if the block isn't found in the screen