I have a question about how family variables work.
I have family enemies, and I added States (Action) Direction, etc variables to family.
Problem is I cant make something affect separate sprite instance action was triggered with.
For example if one sprite is overlapping player and must be set to attack state, all sprites get variable set to attack state.
I tried for each didn't work.
how do I pick triggering instance and perform action on it?
please help and
thanks in advance!