system
1
|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
Asked By |
SpiderBro |
Hi, I’m new to Godot and all I want is to change the color of a tileset.
the code is.
TileMap.modulate = Color( 1, 1, 1)
It clearly doesn’t work. so what can I do??
system
2
|
|
|
 |
Reply From: |
exuin |
Modulating the tilemap will modulate all of the tiles. If that’s not what you want, you need to access the tileset.
So
tile_map.tile_set.tile_set_modulate(id, color)
where id is the id of the tile you want to modulate and color is the color.