#how do i spawn a tile on a click

6 messages · Page 1 of 1 (latest)

small helm
#

in gdscript how would i do so, i have a tile map i made a script that basicly prints the position of mouse but idk how to go from here

here is what i have

icy fern
#

TileMap has a local_to_map function that converts coordinates into cell coordinates

#

You can then give that value to set_cell

small helm
#

so yeah i did it here is the code