so you want to know if an object is not at a certain positionsay not at position X 266 and Y 345if so its easy simply enter the condition to check an object for position X 266 and Y 345 and then right click and hit theInvert button its a button with a cross mark on it I don't think a file would be necessarily for this but let me know hope this helps

How about have a dummy invisible object that you move to that location and see if there's an overlap? The above code won't work properly (although the idea is valid) because X and Y will rarely be an exact integer number, plus what if there are other object types that you want to check for?

well that one should work but you said that there are multiple objects of the same so to fix that use an instance variable or use a dummy object like the guy above me said if you don't mind adding to many objects

codah wrote:How about have a dummy invisible object that you move to that location and see if there's an overlap? The above code won't work properly (although the idea is valid) because X and Y will rarely be an exact integer number, plus what if there are other object types that you want to check for?

System: pick overlapping point might do it too.

Game design is all about decomposing the core of your game so it becomes simple instructions.

codah wrote:How about have a dummy invisible object that you move to that location and see if there's an overlap? The above code won't work properly (although the idea is valid) because X and Y will rarely be an exact integer number, plus what if there are other object types that you want to check for?