How to prioritize tree texture appearing/overlapping grass texture?

Godot Version

4.3 Stable Windows 11

Question

` I would like the bottom of my tree texture to appear over the grass texture. My tree is a texture while the grass is a single tile texture.

Grass Texture:
image

Tree Texture:

The Issue:

`

either you change the tree-hierachy or the z-index or you work with y-sort

So I have all the textures on the same Tilemap, how can I use z-index or y-sort to arrange the textures in the same Tilemap / TileSet?

Since you are doing a siderscroller (i guess) you can paint the z-index of the tiles in the tileset-tab under “paint”