I have a function which places a sprite, then it checks if its overlapping, and ifso, calls it again. This recursion should keep moving it until it is not overlapping. But unfortuatnely, it does not work.
I just tried something wierd and it worked, but dont know why.
Above I have moved the overlap detection code out of the function. So in theory, this code should never be called, or at least called only when the event sheet which contains it is included into the main event sheet?
Any ideas?