tile_layer_hide(depth);
Argument | Description |
---|---|
depth | The depth of tiles which is to be hidden. |
Returns: N/A
Tiles, like backgrounds and other image assets, can be visible
or not. This function can be used to turn all the tiles at a
certain depth invisible so that they are no longer drawn on the
screen.
tile_layer_hide(-1000);
The above code will hide the tiles with a depth of -1000.