Script call to move battler on battle?

Hi all!

Can someone help me with the code to move a battler in battle? What I want is to move the battler infront of an enemy. Im asking the code because I know i can use actions sequences¡with the different plug ins but that doesnt achieve what im looking for.

I read that this can move the actor:
Code:
SceneManager._scene._spriteset._actorSprites[X]._homeX
SceneManager._scene._spriteset._actorSprites[X]._homeY


But I need it to move the battler infront of an enemy.

Thanks!!
SceneManager._scene._spriteset._actorSprites[X]._homeX =
SceneManager._scene._spriteset._enemySprites[X]._homeX +
SceneManager._scene._spriteset._enemySprites[X]._homeX.width

Original thread: https://forums.rpgmakerweb.com/threads/script-call-to-move-battler-on-battle.87540/