MV Need Help Making a Custom Title Screen Cursor

My JavaScript knowledge is rusty/intermediate.

Recently I've been spending hours trying to dissect the RPG Maker MV engine in order to fulfill this idea and after relentless trying I've hit a total brick wall in development.

What I Think I Know
After digging around I concluded that the code for the Cursor that appears over the menu is hard-coded to the point where my options are to create a new Window_Selectable class entirely or fake it by drawing a sprite over the existing cursor. I opted for the latter.

What I Am Trying To Do
  1. Create a Sprite object
  2. Add it as a child of the Command Window for the title screen
  3. Update its position and size along with the existing cursor.
How Far I've Gotten
I've created a Sprite object and added it as a child of the Command Window for the Title Screen, and that's about it.

The Script doesn't really work. I'm just lost.

Spoiler: Script
JavaScript:
/*:
 * @plugindesc Game Specific Modifications
 * @author Best Waifu
 *
 * @help This plugin does not provide plugin commands.
 * @help WARNING: Likely not web compatible
 */

{



    // const SBL = Scene_Boot.loadSystemImages;
    // Scene_Boot.loadSystemImages = function() {
        
    //     SBL.call(this);
    // }

    Scene_Title.prototype.create = function() {
        Scene_Base.prototype.create.call(this);
        this.createBackground();
        this.createForeground();
        this.createWindowLayer();
        this.createCommandWindow();
        // this.createCursorBackground();
    };

    // Scene_Title.prototype.createCursorBackground = function() {
    //     this._commandWindow.cursorBackground = new Sprite(ImageManager.loadSystem("DSCursor"));
    //     this._commandWindow.addChildAt(this.cursorBackground, 1);
    //     this._commandWindow.cursorBackground.y = 400;
    // }
    
    /* FULLSCREEN */
    const FSInitStart = SceneManager.initialize;
    SceneManager.initialize = function() {
    FSInitStart.call(this, arguments);
    Graphics._requestFullScreen();
    };

    Window_TitleCommand.prototype.getOrCreateCursorBG = function() {
        if (!this.cursor_bg) {
            this.cursor_bg = new Sprite(ImageManager.loadSystem("DSCursor"));
            return this.cursor_bg;
        } else {
            return this.cursor_bg
        }
    }

    Window_TitleCommand.prototype.setCursorBG = function(newCursor) {
        if (!this.cursor_bg) return;
        this.cursor_bg = newCursor;
    }

    /* CUSTOM BUTTONS */
    Scene_Title.prototype.createCommandWindow = function() {
        this._commandWindow = new Window_TitleCommand();
        this._commandWindow.setHandler('newGame',  this.commandNewGame.bind(this));
        this._commandWindow.setHandler('options',  this.commandOptions.bind(this));
        this._commandWindow.setHandler('gameEnd',()=>{
            this._commandWindow.close();
            this.fadeOutAll();
            SceneManager.exit();
        });
        this.addWindow(this._commandWindow);

        this._commandWindow.addChildAt(this._commandWindow.getOrCreateCursorBG(), 1);
    };


    /* CURSOR */
    const CUP = Window_TitleCommand.prototype.updateCursor;
    Window_TitleCommand.prototype.updateCursor = function() {
        CUP.call(this);
        const rect = this.itemRect(this._index);
    };

    
    Window_TitleCommand.prototype.makeCommandList = function() {
        this.addCommand(TextManager.newGame, 'newGame');
        this.addCommand(TextManager.options, 'options');
        this.addCommand(TextManager.gameEnd, 'gameEnd');
    };
}
UPDATE

While waiting for this to be reviewed, I made some progress on my own to get the Sprite to (kinda) follow the Cursor but if anyone has any idea of a cleaner approach or an explanation of why this change works, I would love to know.

JavaScript:
/* CURSOR */
    const CUP = Window_TitleCommand.prototype.updateCursor;
    Window_TitleCommand.prototype.updateCursor = function() {
        CUP.call(this);
        const rect = this.itemRect(this._index);
        this.setCursorBG(this.getOrCreateCursorBG());
        this.cursor_bg.x = rect.x;
        this.cursor_bg.y = rect.y;
    };
The cursor is a part of the windowskin, img\system\Window.png

So you should be able to do what you're describing by making that window use a different windowskin than the rest of your game, such as with this plugin by @Eliaquim
Thank you, I'll check it out!
RESOLVED

The Window Skin was not my aim and I forgot to disclose that I wanted to modify the Cursor's shape, something the Window Skin can't do. After revisiting that code I just applied some offsets to the position to fit it perfectly after messing with the image, and even though it is dirty and (probably) resolution dependent, it does the job just fine and I learned some things about MV's GUI code.

To the curious reader, while I don't recommend using my Script for your purposes as it was hacked together specifically for my game, you can override the functions from Window_Base like update for animation as it runs every frame and that is basically the only changes I've made. I do not plan on making this a public plugin.
If you want it to not update every frame, you can create a previousFrameIndex variation, which would update 1 frame later than the index variable, and only update the sprite position when previousFrameIndex != index. But honestly, it's not gonna have any noticeable performance gain. If it already works for you you don't need to change it.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-making-a-custom-title-screen-cursor.157761/