deleting an item when in range and with the key press "E"

With inspiration from ideas you guys suggested, I stitched it together with a cool video on youtube I found and it works great!!

the picture above is the exact code I used incase any future onlookers want to know. Hello onlookers!