Change an order in which are tilemaps (nodes) displayed with gdscript?

Godot Version

Godot 4.2.

Question

Hi, is there way how to change an order in which are tilemaps (nodes) displayed in game with gdscript?
The first one will be displayed in front of the second one?

Hi,

I think you can set the z_index properties of the CanvasItem of you TileMap nodes:

1 Like

That works like a charm. Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.