Make Event Only Visible Within Range?

Hey all, sorry for the double-post, but I thought it'd make more sense than asking two totally different questions in the same thread-

Simply put, I'm just trying to have an interactable marker (i.e. a little bouncing arrow) Event only remain visible while the player is close enough to interact with it (or, even better, while the player is within a certain range of the event), but turn invisible again when the player walks away.

I've been banging my head on this for hours and can't figure out how to wrangle RMMV into checking if a player's still touching the event hitbox to turn invisible (turning visible when the player is nearby was pretty straightforward 😛)...
I have Yanfly's Event Hitbox Resize and Event Proximity Activate Plugins installed, but am not quite sure what to do from here...
Any ideas?
Hi and welcome! No need to apologize, we prefer separate questions in separate threads.

I'm going to leave this here for now, in the event that there is some way to do it without a plugin. But I believe Yanfly has Region Events plugin that let's you paint a region and dictate what happens when you step on that region. So, you could have it trigger the marker. You can turn it off with a parallel process checking if you are still on that tile or painting a ring around the trigger region to turn it off.

I hope that makes sense.
Hello. I use VXAce, but maybe what I tried - just events, no extras - could get you started. I made the event, let's say 1 (your arrow that can be interacted with), with just some text when you interact (action button setting), and then a parallel process event (2) that checks how far the player is from event 1. If the player is 4 tiles or more away in any direction (the script in ruby I used is "(($game_player.x - $game_map.events[1].x).abs + ($game_player.y - $game_map.events[1].y).abs) > 4"), event 2 starts a move route that changes the graphic of event 1 to none, else the graphic changes to the arrow. It seems to be working for me.
Hi and welcome! No need to apologize, we prefer separate questions in separate threads.

I'm going to leave this here for now, in the event that there is some way to do it without a plugin. But I believe Yanfly has Region Events plugin that let's you paint a region and dictate what happens when you step on that region. So, you could have it trigger the marker. You can turn it off with a parallel process checking if you are still on that tile or painting a ring around the trigger region to turn it off.

I hope that makes sense.
Naturally- the one "event trigger" Yanfly plugin I hadn't tried was exactly the one I needed..! Painting the on/off regions individually seems like the most straightforward way to do that, and I haven't used regions for anything else yet, so that works out perfect!

Original thread: https://forums.rpgmakerweb.com/threads/make-event-only-visible-within-range.148410/