Help w/ Eventing System: Controlling 2 Players

Hi everyone!  🤘

So I'm currently working on a game that is similar to a two-person Sokoban puzzle with colorized buttons that when held down by a heavy weight (i.e. a player) toggle open barriers of a corresponding color.

I am currently looking for assistance in eventing a system where:

  • Ability to swap control between the player and an event. I already am able to use a Conditional Branch with "if button X is being pressed, then swap players", but I'm having a lot of trouble not only swapping the control between the two characters, but having the camera follow them as well if they wander far off the map. NOTE: I'm looking to just control the other event (not the player), not have to swap the player's position like in this video that I tried to use as reference.
That was a mouthful, but I hope I explained it well enough (after previewing the post, I'm ready to answer some questions, haha!) If not, please post below, and I'd be happy to assist in any way possible.

I've spent a solid 8 hours or so of RMMV game time on Steam trying to figure this out, and I'm stumped. Not as fluid with events as I was a couple years ago. But, that's why there's people who can help!

Thanks!  😀
Closed due to OP's request.

Original thread: https://forums.rpgmakerweb.com/threads/help-w-eventing-system-controlling-2-players.48113/