Tilemap: best way to reorder z-index

Hello there,
I’m implementing a simple maze game for fun and I’m using tilemap.
I’ve created the layers and I’ve added the main sprite.
The problem is that I want that my sprite to go a bit “under” the walls of the bottom dungeon row but it must stay in front of the walls of the upper dungeon row.
Now I usually handle this by chaging the z-index of the player as compared to the one of the rows.
What is the best way to do this in Phaser?
Create a group of every row and change the depth?
Thanks in advance

:wave:

You can only set depth per tilemap layer, not per tile.

Thanks a lot, this is exactly what I did at last.
It works fine.
I’m a bit concerned by the numbers of the tilemap layers I created, but it runs very smoothly.