Trying to make A popup prompt to click e to collect item.

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.

i was using SDcoder’s tutorial and then I wanted to work on making items so i started on making an item but i figured it out this is the code i haven’t made it pickupable yet though