Event Chase problem

hey guys, Im new at RPG maker MV. so Im planning to make an horror story. and i want to make my game like an outlast game
that you can hide under the table and stuff.

Im using a plugin of yanfly. the plug in was Event Chase Player, Event Proximity Activate, and Event Chase Stealth
my problem is kinda simple I want the hiding spot disable If the monster/ghost near the player. and enable the hiding spot
if im too far to the monster/Ghost.

I set the plugin of yanfly, event proximity radius to 4 tiles event touch
and that triggered to disable the "hiding spot" but after the chase or if im too far it wont comeback.

thank you for helping me.
I think you need to set the condition for it to come back when you're too far/ after the chase.
Just like a door, a condition to open it & to close it.

I've moved this thread to Javascript/Plugin Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/event-chase-problem.125039/