MZ (Visustella) Adjust portrait's Y position in status screen

With Visustella, portraits can be shown in main menu, skill, equip, and status page. I've found how to adjust the position of the portrait in main, skill, and equip page, but I don't know how to do it in status screen.

This is my main menu.
Main.png


This is the status screen. I need to move the portrait a little bit downward but no luck.
Status.png


I've found somewhere that looks like the place in plugin settings, but I couldn't figure out how to adjust the Y position.

In the Elements and Status Menu Core's plugin settings → Status Menu Categories

There are six categories listed here and each of them has the sentence "Draw Actor Graphic", but two different codes are used for different categories.

Category: general, Parameters, access
Draw.png


Category: properties, elements
Draw2.png
Have you tried editing the values to see which screens they affect? It's going to be X, Y in the parentheses, so adding a number will move it downward on the screen (e.g. width+10 or (this.innerWidth/2)+10 ).
Have you tried editing the values to see which screens they affect? It's going to be X, Y in the parentheses, so adding a number will move it downward on the screen (e.g. width+10 or (this.innerWidth/2)+10 ).
I've tried something like this:

this.drawActorGraphic(0, 0, this.innerWidth / 2, this.innerHeight / 2);

and some other similar syntax, but the Y never changed. Instead, while I was editing, the X position moved around, so I guess the Y is perhaps controlled by other things, maybe like the window size.
this.drawActorGraphic(0, 0, this.innerWidth / 2, this.innerHeight / 2);
What is that supposed to mean? It's supplying four arguments instead of the 2 the function is expecting - I would expect that to just shove the picture into the corner of the window, if it worked at all.

Did you try the examples I gave you that are correctly adding a number to the second argument, the Y value?
What is that supposed to mean? It's supplying four arguments instead of the 2 the function is expecting - I would expect that to just shove the picture into the corner of the window, if it worked at all.

Did you try the examples I gave you that are correctly adding a number to the second argument, the Y value?
Yes, I did, like this

this.drawActorGraphic(150, this.innerWidth / 2 + 100);

But the picture moved to the right. Both values control the X.
Screenshot_2023-5-17_11259287.png
Maybe try this?
// Draw Actor Graphic
this.drawItemActorMenuImage(this._actor, 0, 0, 550, 1040);
1690708301992.png

VisuMZ_1_MainMenuCore > List Style Settings > JS: Portrait >
Code:
// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height + 100; // space image can appear in
const gx = rect.x;
const gy = rect.y + 100; // position of the space allocated for the image
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);

1690709102831.png

VisuMZ_1_ElementStatusCore > Status Menu Categories > General(or any other page you want to edit) > JS: Draw Data >
Code:
// Draw Actor Graphic
this.drawItemActorMenuImage(this._actor, 0, 0 + 100, halfWidth, this.innerHeight + 100);
Menus with slide-in backgrounds are edited here:
VisuMZ_1_MainMenuCore > General Settings > JS: Actor BG Action >

Have fun!
That works too. I use the notetag for the player offset instead.
<Menu Portrait Offset: +40, +320>
7c313af492496fb5870d993631f8eb49.jpg
That works too. I use the notetag for the player offset instead.
<Menu Portrait Offset: +40, +320>
7c313af492496fb5870d993631f8eb49.jpg
Good Call!
Wow, thank you very much riceyo84 and NaosoX. Now I can move the picture around. With some adjustment, it'll be good for me.

Just one problem. If i use this script:

this.drawItemActorMenuImage(this._actor, 0, 0 + 100, halfWidth, this.innerHeight + 100);

The +100 would result in this:
Screenshot_2023-8-3_24321624.png


So, I guess I'll leave it as 0, instead +100.

Thank you guys so much!

Original thread: https://forums.rpgmakerweb.com/threads/visustella-adjust-portraits-y-position-in-status-screen.157534/