In my code I'm instancing an animated sprite at locations dictated by the player. I'm trying to make it so that you can't instance a sprite if there already is a sprite there.
Is there a way to detect if there is a sprite at a location using an if statement? If not how would you suggest going fixing this problem?