Looking for a method to limit NPC random movement in VXA

(I wasn't sure which board to post this in, please correct me if this is the incorrect board)

As the title says, i want to limit an NPC's random movement to a select zone, I've tried to figure out a method using VXA's built in Region Editing, but haven't had any luck figuring anything out.

I found a method that sorta works, by placing a fence of empty events around the area I want the NPC to stay in, but this feels really clunky and obtuse for something as simple as limiting an NPC to a set area. Is there any simpler way to accomplish this?
This perhaps: https://yanflychannel.wordpress.com/rmvxa/field-scripts/move-restrict-region/
This is perfect! Thank you so much!

I've moved this thread to VXAce Support. Thank you.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-method-to-limit-npc-random-movement-in-vxa.174588/