Is there a way to identify the current target before an action

In my battle event what I'm trying to do is identify the current target of the player's attack before the attack actually takes place.   That way I can adjust variables based on the selection.

Turn No.1+1*X is the condition for the event page if that is relevant.
Can you explain what you are trying to do?
I will try to go into more detail.

When the battle begins my player selects the enemy he/she wants to attack.

I would then like to be able to identify which enemy the player chose to attack before the actual attack takes place.

I hope that makes sense.  For example:

Enemy1  Enemy2

The player selects Enemy1 and then chooses to Attack.  Then I have an event that triggers where I would like to be able to identify that the player chose to attack Enemy1 instead of enemy2.

I'll provide a screen shot.  I am not sure if it will help much, but the highlighted areas are examples of how I was attempting to identify the planned targets.

Screen Shot.png
what is missing is the information what you want to do with the target after you've identified it.

you can't get that info easily, but there are ways around the problems - and it would help to know what you're trying to do with the target to decide how you might be able to work around the limitiations of the engine.
I'm not wanting to try and do anything specifically with the target itself.

I just want to control variables conditioned by which enemy was selected.  For example:

If the player chooses to attack enemy1, I would like to be able to write a conditional branch like this...

Conditional Branch: Player selected enemy1 to attack

Control Variables: [0001:Variable1] == 1

Branch End

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-identify-the-current-target-before-an-action.20139/