MV Condition for if you're hovering over an actor or enemy in battle?

Hey there all, I'm really new to using this program (and the forum!) but have started off by experimenting with plugins, such as SumRndmDde's Hud Maker, to form my own battle screen. For example, I've entirely removed the default actor windows and have made my own, and I use conditions to check for when the actors' HP and MP values change or to alter their frames' appearance depending on if it's their turn or if they're down. For example, I'm able to make the first actor's frame turn red when they're downed with the condition: $gameParty.deadMembers().some(function(member){return member.isClass($dataClasses[1])});
Game_xrDG6xnjXU.png


However, I have a hard time making healing items or skills effective because I now am unable to let the player see which party member they are selecting. Is there a condition of any sort that checks for if you're currently hovering over an actor - or even an enemy - while choosing a target for an item or skill?This is so I can make a graphic show up when you are - I'll show a mockup of what I'm trying to accomplish:
example.png

I apologize if this could be found elsewhere or if this wasn't the best place to ask, any tips or advice would be greatly appreciated! 🙂

I've moved this thread to MV Support. Thank you.

Also, since this is about a plugin (SRD's HUD Maker), I've moved it to JavaScript/Plugin Support.

I think this will be true iff the party leader (index 0) is currently inputting:
JavaScript:
$gameParty.members().indexOf(BattleManager.actor()) === 0
For the next party member, swap the 0 for a 1, etc~

For example, I'm able to make the first actor's frame turn red when they're downed with the condition: $gameParty.deadMembers().some(function(member){return member.isClass($dataClasses[1])});
This is actually true when any party member with class 1 is knocked out, regardless of their position in the party. You may want to try this instead:
JavaScript:
$gameParty.members()[0].isDead()
I.e. "is the party member in position 0 (leader) dead?"
Also, since this is about a plugin (SRD's HUD Maker), I've moved it to JavaScript/Plugin Support.

I think this will be true iff the party leader (index 0) is currently inputting:
JavaScript:
$gameParty.members().indexOf(BattleManager.actor()) === 0
For the next party member, swap the 0 for a 1, etc~


This is actually true when any party member with class 1 is knocked out, regardless of their position in the party. You may want to try this instead:
JavaScript:
$gameParty.members()[0].isDead()
I.e. "is the party member in position 0 (leader) dead?"
Thank you for the advice! I'll give that a try instead. 🙂
Hopefully it works!

Original thread: https://forums.rpgmakerweb.com/threads/condition-for-if-youre-hovering-over-an-actor-or-enemy-in-battle.146064/