MV [SOLVED] script call to return true if actor is in specific party member slot

cant figure out how this would be done, but im using SRD hud maker and need to check if a specific actor is in a specific battle party slot (the party can have 12 actors, but only 6 in battle)
to be clearer, the exact condition i need is something along the lines of:
if <actor> is in battle party slot <x>, return true

hopefully this is the last time ill need to ask for help here but im kind of at my wits end because i couldnt find anything on how to do this


aaaaaaaaaaaaa i actually got it myself im proud of myself
sorry for the pointless thread but if anyone is trying to do the same thing (i know itll be irrelevant eventually but at least while the sites in read only mode), what i used is:
$gameParty.members().length >= 1 && $gameParty.members()[0].actorId() === [ACTORID]

the first part simply checks the party size so i know whether to use the hud element for additional party members, and the second has 2 parts to it, the [0] is the current party slot (my party caps at 6 battlers, so slot 0 would be the first battler slot and 5 would be the last), and [ACTORID] would be the id of whichever actor youre trying to check for

Original thread: https://forums.rpgmakerweb.com/threads/solved-script-call-to-return-true-if-actor-is-in-specific-party-member-slot.184056/