MV Help I need to know the X and Y position of the battlers

How could I know the position of the actors on the battle screen to give them to two variables? One for position X and one for Y
SceneManager._scene._spriteset._enemySprites[a]._homeX
SceneManager._scene._spriteset._enemySprites[a]._homeY

In place of "a" type index of your troop member ranging from 0 to 7
0 - means first battler
for enemies.


For actors:
SceneManager._scene._spriteset._actorSprites[a]._homeX
SceneManager._scene._spriteset._actorSprites[a]._homeY
Thanks
SceneManager._scene._spriteset._enemySprites[a]._homeX
SceneManager._scene._spriteset._enemySprites[a]._homeY

In place of "a" type index of your troop member ranging from 0 to 7
0 - means first battler
for enemies.


For actors:
SceneManager._scene._spriteset._actorSprites[a]._homeX
SceneManager._scene._spriteset._actorSprites[a]._homeY

if it were in a
<custom respond effect>
Would this help me to know the position of the target of a skill?
What I gave you is to obtain X and Y of battler on screen, to set location (X, Y) are different

SceneManager._scene._spriteset._actorSprites[a].setHome(x, y)
SceneManager._scene._spriteset._enemySprites[a].setHome(x, y)

But I don't quite understand what are you trying achieve making a skill that position enemies.
I'm not sure this call will work in Yanfly's BuffStatesCore plugin.
The last was out of curiosity. And the first thing I ask is to make waves on the battlers using olivia battle impact. And thanks again

Original thread: https://forums.rpgmakerweb.com/threads/help-i-need-to-know-the-x-and-y-position-of-the-battlers.128569/