- Home /
How do I get my tiles to overlap my Background sprite? 2D
Every time I try to paint with my tiles over my background, they go behind it. Any ideas on how to fix this?
Answer by Labertasche3_0 · May 08, 2020 at 09:01 AM
Just create different sorting layers and assign them to the sprites.
You can do so by going to your sprite > Sprite Rederer > Additional Settings > Sorting Layer > Add sorting layer
Note that the higher the layers are on the list, the further they are in the background.
But because I'm using a tileset with unity's tilemap system, what sprite or object should I assign the layer to?
You can also make different tileset layers, I'm not completely sure how it works but it should be in the tileset editor window
Ok I think I understood you wrong, if you only want the tilemap to be in front of the bg sprite, then put the whole tilemap on a sorting layer