Yeah so basically i was trying to use the isometric Z as Y to make my enviorment but when trying to place the pipes they just go over everythinhg instead of being sorted like the other tiles.
The only thing i can understand is that every tile that has this problem comes from another set of sprites, but i can’t see the difference, they all have the same proprieties.
here are some screenshots
grid:
tilemap:
the sprites of the correct tiles
the sprite of the problematic tiles: