MZ Changing X Position of Text Box

Hi! I have already changed the Y position of my text box in this thread, but I would also would like to change its X Position (moving it to the left or the right)

This is the default x position of the Text Box in the 1104x624 resolution:
1000334134.png


I would like to move it to the right, even if it goes beyond the screen.

1000334135.png

(* I'm not searching for a way to center the text)

Any help is appreciated!:LZSproud:
its like the thread said of this.y use this.x to change the X position.
or at the window for wx for the x position.

depends if those are fixed positions or not.

if variable, than either use gameVariable.value(x) or create a mini function
to set X and Y otherwise.
its like the thread said of this.y use this.x to change the X position.
or at the window for wx for the x position.

depends if those are fixed positions or not.

if variable, than either use gameVariable.value(x) or create a mini function
to set X and Y otherwise.
Thank you so much!!

Refering to ATT_Turan's response in the thread I linked, I changed
Code:
const wx = (Graphics.boxWidth - wx) / 2;

to
Code:
const wx = 285

and I got the Text Box in the x Position I wanted (285).

I really appreciate the help!

Original thread: https://forums.rpgmakerweb.com/threads/changing-x-position-of-text-box.178846/