Don't want sprite to spawn in specific area

I have a student who set her sprite to spawn in random locations. Is there a way to make it so that the sprite does NOT spawn in specific areas of the tilemap?