One thing more, I need to create the remaining sprites which is not equal to the 2nd array elements. Basically, it should be like, if SpriteA compare Variable != array2.CurValue: create spriteC on SpriteA where X = SpriteA(loopindex).X, Y = SpriteA(loopindex).Y
But it is spawning 315 spriteC everywhere, so instead of that, I wrote.
X = (SpriteA(loopindex) <> array2.CurValue)).X
Y = (SpriteA(loopindex) <> array2.CurValue)).Y
and that is still creating 315 spriteC but now on only one correct location.
Need to create the spriteC on remaining spriteA. Should I set up the spawners on the layout screen?
Help would be appreciated!!