MV Obtain in battle ON SELECTION target name

I'd like to obtain with script call (for HUD) currently selected battler name. Is there a specific script call for that?
For the current selecting actor (the one who is choosing the skill)
JavaScript:
BattleManager.actor().name()
For the actor currently selected (the one who will be targeted by the skill)
JavaScript:
SceneManager._scene._actorWindow.actor().name()
How would I go about finding the currently selected enemy's name?
How would I go about finding the currently selected enemy's name?
Use similar procedure but with enemy window instead:
JavaScript:
SceneManager._scene._enemyWindow.enemy().name()
This will give you the enemy name in the database plus the letter (A, B, C) if it has one.
Use similar procedure but with enemy window instead:
JavaScript:
SceneManager._scene._enemyWindow.enemy().name()
This will give you the enemy name in the database plus the letter (A, B, C) if it has one.
Thank you SO much! I have been searching for this for longer than I can remember. Another thing to check off my to-do list. :rtear:

Original thread: https://forums.rpgmakerweb.com/threads/obtain-in-battle-on-selection-target-name.131691/