Hello, I'm having trouble with the 2DAreas in my game, even when I disable the monitorable option other 2DAreas seem to pick them up, I've tried disabling them through the animation player at the start of the defeat animation and on code when calling the animation, but the player keeps detecting the enemies even after disabling them.
I also tried disabling the 2DShpae and it fixed that problem, but then the enemy disappears in the first frame of the defeat animation instead of at the end.
this is my first time asking anything here so sorry if I did something wrong.