Replace placeholder color on tile with texture

Godot Version

Godot Engine v4.3.stable.mono.official [77dcf97d8]

Question

Hello, I have a question about replacing placeholder color with texture.
The point is to create map with placeholders and then later replace it with texture.
Question mostly for education purpose.
Didn’t see any thread with similar topic.
Example below.
Thank you for any help!

From this:
from

To this:
to

Is your tile simply a TextureRect? Then you can just change texture in the Inspector, or just do TextureRect.texture = your_new_texture within your code.

If it’s a tile within a TileMapLayer, then you’d need to access the texture on the TileSet resource, or create a new TileSet resource and replace it in your TileMapLayer.