MZ [VISUMZ MAIN MENU CORE] Display your own text instead of the class for the rest of the actors.

Hello. Help me with writing a script to display HP only for the required player. I just need to know how to make a check. There is an actor object there:
JavaScript:
// Declare Constants
const actor = arguments[0];
But I have no idea what an actor object is. Here through it I need to get the index of the actor from the database and compare whether it is necessary.

I hope you understand me. And I apologize for my English.
The issue is resolved. I missed this point but it's done like this:
JavaScript:
actor.actorId()
I have another question. It is necessary to display just text instead of a class for other players. How to do it?
And this issue has been resolved. The command "this.DrawTextEx("{companion}", sx2, sy, sw);"
I just didn't think it would work.

Original thread: https://forums.rpgmakerweb.com/threads/visumz-main-menu-core-display-your-own-text-instead-of-the-class-for-the-rest-of-the-actors.155811/