I have this capx(See attachment).Oh New forum has attachments posting available?Thank you scirra.
At the start of the layout,global variable "next" chooses something from 0 to 30.
Then the Sp1 is created on Map.TileToPosition(next).
What I want to do is,If there is an object Sp1 already in that Area(Overlapping area),Create it in the nearest possible Map.TileToPosition without overlapping.
I can't find any way around this.Any help?
[attachment=0:1gx51eqa][/attachment:1gx51eqa]