my map is overlaying the player! help

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vitu

so for some reason each image is overlapping my character, how do i resolve this?

:bust_in_silhouette: Reply From: Inces

drawing direction is determined by children order of the scene. Change places of your character and tilemap in scene hierarchy or change Z-index property of your nodes ( higher Z-index is drawn first ).

:bust_in_silhouette: Reply From: Gluon

In the inspector is a section titled “scene” and in it you will see all the nodes with your character and other images in. If you pick these up and drag them you can change the order they are created so that a node will show on the ‘top’ or ‘bottom’ as you wish. If you pick up your character node and drag it to the bottom it will show above the other nodes.

Just so you know there are also nodes such as Y_sort which can draw them in order based on where they are on a y axis.