Hi there, thanks for taking a look ... this is more of a 'wonder if i could'
So I have a family called 'Enemies' and within that grouping there are 10 Objects, all Sprites and all of them have their own numeric instance variable called Damage.
What I would like to happen is that if the player collides with a member of the Enemies family, it picks the object it has collided with and subtracts that object's Damage variable from a Global Variable.
Apologies if this doesn't make sense ...