I can't find a way how to make breakable/placeable tiles in Godot 4 does anybody know how can I do it?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sdpro

:bust_in_silhouette: Reply From: exuin

Use TileMap.set_cell(). Make sure you have all the correct data for the tile you want to place down.

Also, don’t put it in process, put it in unhandled input since you don’t need to call it every frame