MV How to get Party Member Actor ID with JavaScript

I'm creating a Hud with SRD_HudMaker for my game but what I want is the Hud to show 2 of the Party Members at once & have them Swap whenever the Player switches between the 2 characters.
I already know how to get the Party Leader's ID, what I need to know is how to get the Second Party Member's ID.
"Get the actor ID of party member index 1":

$gameParty.members()[1].actorId()
The leader is index 0; the first follower is index 1. 👋
"Get the actor ID of party member index 1":

$gameParty.members()[1].actorId()

The leader is index 0; the first follower is index 1. 👋
It worked! Thank you very much!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-party-member-actor-id-with-javascript.145165/