yep_regionrestriction turning On/Off via switch/variable in game

It would be nice to have an option while during game to have big regions that are setup to restrict be able to have access too when you need, or vise versa(regions that normal allow movement can activate to now restrict). Wonder if we could get a plugin extension or even a script call that would help in this 👋
You can use this,
https://github.com/Hikitsune-Red/RED_SetRegionId

perfect! thanks

Original thread: https://forums.rpgmakerweb.com/threads/yep_regionrestriction-turning-on-off-via-switch-variable-in-game.106608/