Is there a maximum range which an npc will wander?

This isn't a "how do I stop npcs from wandering?" question - I want to build one of the npcs homes a bit further away from the rest, and was hoping to build it close enough so the npc will still wander into the town sometimes.

So - is there a specific maximum range which an npc will wander?


Yes. Whenever NPC wanders to far from their house, they will automatically Teleport to their respective house.