Conclusion

Great! Now we have our Mousey NPC that strolls back and forth as long as the main character is outside the defined circle.