If you only need to check 1 tile in front of the player, that's the simplest case.
Get Location Info could work, but would require you to keep track of which event IDs on each map are "interactable", which is clunky. Instead, something like this in
Conditional Branch -> Script might work (untested):
const d = $gamePlayer.direction(); $gameMap.events().some(e => e.isTriggerIn([0]) && e.isNormalPriority() && e.posNt($gameMap.roundXWithDirection($gamePlayer.x, d), $gameMap.roundYWithDirection($gamePlayer.y, d)))
I.e. "is there some event on the map that has Trigger = 0 (Action Button), Priority = normal (Same as characters), is in front of the player, and is not marked Through?".
You would still have to figure out when to check it. You could do that with a Parallel event, maybe one that ends with Wait 6 frames or so, to limit the check frequency. A plugin that turns on a switch (or calls a common event) with every step may help to streamline things.
Alternatively, just to mention it...have you seen Galv's Action Indicators plugin?
Action Indicators RPG Maker MZ Plugin Galv Introduction Show the player they can make an action on something they are lookin' at. Features Enables you to display an icon above the event the player is facing. This icon has a floating up and down movement and is determined using a tag inside...
forums.rpgmakerweb.com
The visuals (icon over the event, rather than in the corner of the screen) aren't what you ask for, but it would probably be a lot more straightforward than trying to manually event these checks.