move the enemy during the battle

I would like to make an animation of the enemy being moved off-screen.

Is it possible through some command or plugin to move the enemy during the battle?
Which engine are you using? Your profile says you use MV, but you posted in the MZ forum.

If it's for a specific enemy, you could simply make an actual animation out of it in the animation editor.

If it's for a skill that could be used on any enemy, it would be more efficient to use Action Sequences. For MV, you'd use Yanfly's Action Sequences, for MZ that's in VisuStella's Battle Core.
You can use this script command
BattleManager._spriteset._enemySprites[0].startMove(-150,60,60)

[0] is the enemy index, the first enemy is 0, the second is 1....
The startMove function(X, Y, Duration) is relative to the battler's home point. It's starting point. So -150 is moving it to the left on the X axis away from the home point. Using -150 again won't move any further because it's already at that point -150 pixels away from the homepoint

Original thread: https://forums.rpgmakerweb.com/threads/move-the-enemy-during-the-battle.150482/