I have 2 Sprites, named "Enemy" and one sprite named "Player":
I have this code:
System>For each "Enemy"
System>distance(Enemy.x,Enemy.y,Player.x,Player.y)
How can i capture the X and Y of the instance i want and not just the first one
[SOLVED]
System>For each "Enemy"
System>distance(Enemy(loopindex).X,Enemy(loopindex).Y,Player.X,Player.Y)