How do I…
Delete only 1 object of many.
What is the expected result
delete 1 of the objects that the player is in collision with (when E is pressed) that is added to the player’s inventory
What is the actual result
Deletes all of the objects that the player is in collision with