Animating tile map layer

Godot Version

4.3 stable

Question

Hello

How can I animate tile map layers?
I have a tile map sprite sheet of 3 frames, I want it on level load to show first frame, and after an action happened ( player was detected in one of the areas ) it will play 2 other frames? How can I achieve this?

I first thought of just spam copy animated sprite sheets, but it’s the worst case scenario. Thank you in advance.