How to store a party member POSITION on a variable.

Hi! I have an event that removes the party, adds an actor, removes the actor, and reinstates the original party.

But for good aesthetics and coding, I want to reinstate the party in the same order/postion as they left. How can I save the party position of each actor on a variable?

Thanks!!
Control Variables > Game Data > Party Member #'s Actor id

will give you the actor id of position 1, 2, 3, etc.
Duh!!! Was that simple...

Thanks a bunch @Shaz!!!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-store-a-party-member-position-on-a-variable.85317/