Turn switch off when no longer touching event

Hi, I’m hoping to create a campfire that will restore stats when the player is nearby. Yanfly has a plug-in that can expand event proximity but I’m not sure how to turn off the switch responsible for restoring stats when the player leaves the campfire.

Is there a way to check if player is touching or within an events trigger area?
Like this?
parallel process event that checks player X,Y locations and if both r less then 2 away from event location

Original thread: https://forums.rpgmakerweb.com/threads/turn-switch-off-when-no-longer-touching-event.116438/