I have 5 (aribtrary number) copies of Object A. I want to be able to apply an action to only 1 Object A of the objects, so it doesn't apply to the rest of the copies of Object A. Is there any way to do this?
Develop games in your browser. Powerful, performant & highly capable.
You need to pick the specific instance to affect. You can do this a number of ways using events. One common way is to assign a different instance variable to each instance, and then pick the instance based on the variable.
This article should be helpful:
How Events Work
what zatyka said, create instance variable "ID".
I understand. Thank you!