Is there a plugin that would define currently displayed picture's area as an event area?

Hello there, basically what the title says.

TLDR explanation is that I'm making a fully-interactive HUD for my project.

I use YEP_PictureCommonEvents to be able to use blank images as clickables and SumRndmDde's HUD Maker to do the bulk of displaying HUD and a bunch of other pictures when necessary.

However, I also want to make it so my HUD's buttons would light up whenever I hover on them.

One of the plugins I found that features including hover support for events was Kingpin RBD's Mighty Mouse plugin. The idea was that by hovering over the event area would flip a switch that would display the image for the lit-up button and by NOT hovering it would flip it off. However, as I realized, the only way I'd be able to use it that way is by defining a blocky area on the map as an event area, and the HUD's buttons are pretty much semi-round, so the hover interaction wouldn't feel fluid at all if I were to do it this way.

So, I decided that the only solution to this problem would be to be able to define a displayed picture's area as an event area somehow.

Is it possible? Is there a plugin for it? I'm open to other suggestions if you have any. Thank you in advance.

I posted the same question to the RPG Maker Discord Channel, but I saw that this forum is way more active, so sorry in advance if it looks like spam. I'm just new to the engine, so I'm trying to get a proper feel for it.
I have moved this thread from RPG Maker MV Support to JS Plugin Requests.
Use Triacontane's PictureCallCommon.js

Yes, it's Japanese but it has basic English instructions and it has transparency detection so you can make it so it will only trigger on non-transparent pixels.

To make a picture button, use the plugin command
JavaScript:
 * Plugin Command
 *
 *  P_CALL_CE [Picture number] [Common event ID] [Trigger] [TransparentConsideration]:
 *      When picture was clicked, assign common event id.
 *    Trigger are As below(if omit, It is specified to 1)
 *      1  : Left click
 *      2  : Right click
 *      3  : Long click
 *      4  : Mouse over
 *      5  : Mouse out
 *      6  : Mouse release
 *      7  : Mouse repeat click
 *      8  : Mouse press
 *      9  : Wheel click
 *      10 : Double click
 *      11 : Mouse move
 *      12 : Mouse move and press
For example,
P_CALL_CE 1 2 7 ON
Makes picture 1 a button triggering common event 2 on repeat click with transparency consideration ON
Yes, it's Japanese but it has basic English instructions and it has transparency detection so you can make it so it will only trigger on non-transparent pixels.
Ooooooh, when I was looking into this whole thing, I almost started to give up and was thinking of going with a different budget approach where buttons would only switch appearance upon clicking. Thanks a lot, this just made my day! By the way, would this plugin interfere with YEP plugins, ingluding the YEP_PictureCommonEvents?
Ooooooh, when I was looking into this whole thing, I almost started to give up and was thinking of going with a different budget approach where buttons would only switch appearance upon clicking. Thanks a lot, this just made my day! By the way, would this plugin interfere with YEP plugins, ingluding the YEP_PictureCommonEvents?
You would use it instead of YEP_PictureCommonEvents. There's no reason to use both.
You would use it instead of YEP_PictureCommonEvents. There's no reason to use both.
Makes sense, thanks.
And for the last question: is it possible for it to read js script as variables? Let's say, I have pictures of this and that number and common events with identical numbers. I tried it out already by inserting $gameVariables.value(whatever number) with and without semi-colons, doesn't seem to work. Maybe I'm using a wrong command since I'm a novice, or maybe it simply doesn't have this functionality - I have no idea.

The reason I'm asking is because that I saw that many of other plugins have a functionality of being capable of using script commands as variables and wondered whether it's the case here as well.
$gameVariables.value(whatever number) with and without semi-colons, doesn't seem to work. Maybe I'm using a wrong command since I'm a novice, or maybe it simply doesn't have this functionality - I have no idea.
It's a plugin command, so put \V[11] instead of $gameVariables.value(11)

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-plugin-that-would-define-currently-displayed-pictures-area-as-an-event-area.163100/