#how do i spawn a tile on a click
6 messages · Page 1 of 1 (latest)
TileMap has a local_to_map function that converts coordinates into cell coordinates
You can then give that value to set_cell
i found this if it helps:
https://www.youtube.com/watch?v=PSEPHO8ukjI
Itch io Asset Pack : https://jackie-codes.itch.io/paradise-asset-pack
Github : https://github.com/anonomity/Godot4Tilemaps
Support the Chanel
Patreon: https://www.patreon.com/jackiecodes
Links
Itch: https://jackie-codes.itch.io/
Twitch: https://www.twitch.tv/jackie_codes
Twitter: https://twitter.com/jackie_codes
Discord: https://discord.gg/kQv...
i think the video is about what i want so i will watch
so yeah i did it here is the code