How to remove the selection box for a window?

Specifically, the one I've outlined in the screenshot. I've poked a bit at Window_BattleStatus in the code and no dice so far.
The codes are in window selectable (windows file) and window (core file).

But I think just this works:

Window_BattleStatus.prototype.updateCursor = function() {

};
Not sure what you are doing, but this will make the cursor invisible.

JavaScript:
Window_BattleStatus.prototype.isCursorVisible = function() {
    return false
}
if its a single actor, you want to omit the battle actor selection.
most single actor menu omit this by default so you only select the enemy.
and never select the party member (which you show on the screenshot).
Not sure what you are doing, but this will make the cursor invisible.

JavaScript:
Window_BattleStatus.prototype.isCursorVisible = function() {
    return false
}
Works perfectly, thank you!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-the-selection-box-for-a-window.182488/