Animate a tilemap element

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

I need to aniimate certain elements of the tilemap when the player collides with them. Is this possible?

:bust_in_silhouette: Reply From: Calinou

Since TileMap tiles aren’t actual nodes, you can’t animate them directly. You could however spawn effects that appear on top of them (and possibly find a way to hide the original tile during the animation).