Skip to main content

@mapgear/geoapps > Screen > RemoveBlock

Screen.RemoveBlock() method

Remove a block from the screen

Signature:
RemoveBlock(block: Block): number;

Parameters

ParameterTypeDescription
blockBlockThe block that is removed from the screen
Returns:

number

The slot of the block that is removed, or -1 if the block isn't found in the screen