Hey folks, my question might end up being one of those easy things that's just difficult to figure out how to search.
I have multiple instances of a sprite with an instance variable called "Value," which is a different number for every instance. I want to make it so that when two instances of the same sprite collide, I add their values together and store it in a variable.
How do I differentiate between the two instances of the same sprite in the "is overlapping" event? If it were two different sprites, it would be Sprite1.Value + Sprite2.Value in the resulting action, but if they are both instances of Sprite1, how do I get the value from each? (Sprite1.Value + Sprite1.Value doesn't work)
I'd know how to do this if it were two different sprites colliding or if I were scripting it traditionally, but I'm stumped here.
Let me know if you can help, thanks!