I have some troubles with different instances of one object.
When the player is overlapping 2 same objects and presses the button, the action will cause for both of them. What I wanted is that this action will either: 1. only happen to the first/last instance which you collide with or 2. cause if you overlapping one of the object. So if you are overlapping e.g. 2 instances of the object "enemy", it won't do the event.
How is it possible to differ between different Instances of the object? I already added a Number variable which will identify them but don't know how to implement that.