|Topic was automatically imported from the old Question2Answer platform.
I need to know which are the layers of a body that collides with a Area2D.
Cuz if a body with a certainly layer enter in that area, it should disable the parent mask of that layer for a sec, because i had two collider that should not collide with a body in that area, but since i can’t remove it’s collision_mask cuz it’s parent have children colliders that must had that mask. And that it’s coursing me a bug.
How can i do that through code?