remove tiles that intersect with area2D

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

I want to create a fog of war using a tilemap that covers the entire game, and remove tiles when they intersect with an Area2D. I am trying to use signals for this and the closest I get is with the on_body_shape_entered signal, but it doesn’t give me the colliding tile, only the entire tilemap. How do I remove all intersecting tiles?