tile_layer_hide

Hides all tiles at the indicated depth layer.

Syntax:

tile_layer_hide(depth);


Argument Description
depth The depth of tiles which is to be hidden.


Returns: N/A


Description

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.


Example:

tile_layer_hide(-1000);

The above code will hide the tiles with a depth of -1000.


Back: Background Tiles
Next: tile_layer_show
© Copyright YoYo Games Ltd. 2018 All Rights Reserved