Checking position of Actors in Battle

Hello!

I'm actually working on a Battle system that make the actors stay in place where they finished the attack.
My problem is, if I'm really unlucky with the movements of those actors, they can end up off screen after a while.
In the uploaded example, they would continue their way to the bottom of the screen, which I don't want!

So, I was wondering if there a way to check of the current active actor/battler pposition in the screen.
For example I found "$gameTroop.members()[EnemyIndex]._screenY > 500" for the enemy

It works but it's not really that usefull as I need to check if for each corner of the screen, and every possible present enemy on screen.
I also didn't found the one for the player's party member.

So, in brief :
Is there a script call to say "Check the active battler position on screen" or something similar?

Thanks!
Are you using Yanfly's Action Sequencing by any chance?
I don't. I use VE Battle Motions right now.
Why that?
The method I use to get the positioning of sprites is provided by Yanfly's action sequencing. Not sure how else to get it. Sorry about that. 🙁
Hum maybe still explain?
It may gives me some hints on how to proceed if VE Battle motions has something similar.
I would have loved using Yanfly one, but unfortunately, the fact that it is linked to the battle core engine create a lot of problem on my project 😛
It's not really compatible with a lot of things.
Oh Cool. How did you make the characters stay still in the first place?

Original thread: https://forums.rpgmakerweb.com/threads/checking-position-of-actors-in-battle.91973/