Coloring Tile maps?

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

How can I change the color or modulation of a specific tile in a tilemap? For instance, when a projectile lands on a tile, how do i change the color of that tile the projectile landed on?

:bust_in_silhouette: Reply From: njamster

You can’t. You could spawn a separate node at the location of a specific tile and modulate that. Or you just keep two versions of a tile (a normal and a colored one) and swap the tile out once the projectile hits a normal tile.