Godot Version
4.2.2
Question
I need to make the popup appear when in Area 2d and disappear when the character is in their?
and when i press e when i am in the area 2d it disappears entirely
Sorry to say this so blunt, but that code is a complete mess. There are so many things wrong with it that I wouldn’t even know where to start.
Maybe you could take a step back and look at some basic tutorials, like these ones:
This will get you started somewhere and hopefully you’ll be able to return to your original idea soon after and find the problems with the code yourself.