Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | 1izNoob |
I have a tilemap node and in there are 2 tilemaps (with ID 0 and 1), each has several tiles.
Now I want to be able to use set_cell to place any of these cells. I get the position, that is just set_cell(x,y) but I am struggling with the third argument, the one for the tile:
This is supposed to be an integer, and when I pass in 0 I get the top left tile of tilemap with the ID = 0 and the same for 1. But what if I want to select another tile, is there a way to select those?