Hi.
I have multiple instances of a sprite, one with a variable number set to 1 while the others are set to 0. I'm trying to pick the instance of the sprite that is closest to the sprite with it's variable set to 1. I tried a few things I saw on other forum posts but none seem to be working.
Basically, this is what I've been trying:
Pick all (sprite)
-Pick (sprite) where variable = 1
--Pick (sprite) nearest to (sprite) --- Destroy
That just destroys the sprite that has a 1 for the value.
Not sure what I'm doing wrong. I guess essentially I want to pick the second nearest sprite.
Any ideas?
Thanks!