Knowledgebase / Using layers to organize and move objects in front or behind each other
The layers panel displays all the layers in your level. The contents of your game (game objects and tiles) are placed in these layers which are like containers. Layers are stacked above or below each other.
When you place game objects into your game, they are placed on the layer that is currently selected (it will be highlighted).
You can show or hide the contents of a layer by clicking on the eye icon to the left of each layer. By hiding a layer that is blocking another layer, you can make it easier see what’s going on.
A terrain layer/tile map layer will display a grid in the level, and all game objects placed in the terrain layer will resize and conform to this grid, as well as becoming solid and immovable.
Game objects placed on a layer (as opposed to a tile map layer) can be made interactive by applying a script to them.
You can create layers by clicking on the + icon, and you can delete a selected layer by clicking on the trash can – a prompt will ask you if you’re sure you want to delete the layer because deleting a layer will delete everything inside that layer!
You can rearrange the layer order by clicking and dragging on a layer to place it above or below another layer.
You can also rename a layer by double-clicking on its name, and typing a new name in.