MV Window_MenuActor

Is it possible to move Window_MenuActor (rpgwindows.js, 1816)?
I would like to have

width = 640
height = 420
x = 0
y = 108

I can resize this window but I can't set the new position for it.
from A refernce.

JavaScript:
Window_MenuActor.prototype.initialize = function() {
    Window_MenuStatus.prototype.initialize.call(this, 0, 0);
    this.move(0, 108, 640, 420);
    this.hide();
};
Thank you, but for some reason, "x" doesn't work; whatever number I use, the window is always stuck to the right (as if right-aligned). If I change the width, the window is still stuck to the right. If I remove "this.hide();", the window is positioned correctly, but I need this line.
The x position is set by the scene, based on the location of the selected choice:
Spoiler: Reference code (rpg_scenes.js)
JavaScript:
Scene_ItemBase.prototype.isCursorLeft = function() {
    return this._itemWindow.index() % 2 === 0;  // <- true iff even-number choice index
};

Scene_ItemBase.prototype.showSubWindow = function(window) {
    window.x = this.isCursorLeft() ? Graphics.boxWidth - window.width : 0;  // <- here
    window.show();
    window.activate();
};

Scene_ItemBase.prototype.determineItem = function() {
    var action = new Game_Action(this.user());
    var item = this.item();
    action.setItemObject(item);
    if (action.isForFriend()) {
        this.showSubWindow(this._actorWindow);  // <- from here
        this._actorWindow.selectForItem(this.item());
    } else {
        this.useItem();
        this.activateItemWindow();
    }
};
For code changes, plugins are recommended. These are separate .js files that override/extend specific parts of the core scripts. Just copy the relevant code into a text editor, Save As > File Type: All Files, Filename: whatever.js, then import into your project using Tools > Plugin Manager.

A couple of possible options here:
  1. Pretend the selected item is always on the right, so the window always shows on the left:
    JavaScript:
    Scene_ItemBase.prototype.isCursorLeft = function() { return false; };

  2. Remove the x adjustment from the scene's showSubWindow method:
    JavaScript:
    Scene_ItemBase.prototype.showSubWindow = function(w) { w.show(); w.activate(); };
It works! I'll use the second option.
Thank you very much.

Original thread: https://forums.rpgmakerweb.com/threads/window_menuactor.133576/