MV Display the enemy's current "Charging Skill" in SRD HUD Maker text.

Guuuuuuuuuuuuuud morning, night city!

Ah sorr,y too much Cyberpunk.

So does anyone know how to display the name of the current skill that the enemy is "charging" so I can place the name of said skill in a text box using SRD HUD Maker?

I'm currently using YANFLY's ATB system

A bit more info about the charging. When the ATB fills, the enemy will select a skill and it will go into a charge phase and once charged, it will be used.

And SRD HUD Maker.

Many thanks everyone ^^
I think it's just the $gameTroop.members()[0].currentAction().item().name (change that troop members 0 to correct batter). But you'd have to check with a conditional that they exist, something like:
if ($gameTroop.members()[0].currentAction() && $gameTroop.members()[0].currentAction().item())
before getting the name.
And depending what you're trying to do, maybe also have a conditional check for:
$gameTroop.members()[0].isATBCharging()

Original thread: https://forums.rpgmakerweb.com/threads/display-the-enemys-current-charging-skill-in-srd-hud-maker-text.182434/