Removes the given TilemapLayer from this Tilemap without destroying it.
If no layer is specified, the maps current layer is used.
name | type | arguments | description |
---|---|---|---|
layer | string | number | Phaser.Tilemaps.TilemapLayer | <optional> |
The tile layer to be removed. |
Returns this, or null if the layer given was invalid.