Sprites Detection

I am trying to create a game but I need my sprite to be able to perform a job when it over another sprite. My issue is, if I have two unrelated sprites touching my main sprite it is changing the variable. I only want it to change the variable when the sprite1 touches it.

In the collided event block, you don't set other. You TEST other with an if/then block.

1 Like