Update navigation after removing a tile from tilemap

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

After some time looking at the docs, I couldnt find a way to do this. I have to update de Navigation2d after I remove some tiles, so the AI can chase the player when the new paths are available. How can I do this?

:bust_in_silhouette: Reply From: momopey

Figured it out:
Simply call the .update_dirty_quadrants() function on the TileMap with the issue, and it’ll clear right up.