tilemap.set_cell select specific tiles

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: 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?

:bust_in_silhouette: Reply From: 1izNoob

oh nevermind, figured it out.

It just needs the autotile_coord and a vector and then each tile can be accessed. Thought that parameter meant something else.