MZ I want to change the opacity of the touch UI

1.png

I want to change the opacity of the touch UI to 255.

rmmz_window.js
rmmz_scence.js
I used to change the ui by modifying these two files.
So I think it will be possible to solve it in a similar way this time.

Which part of the js file should I change?
Maybe try this mini-plugin?
JavaScript:
/*:
 * @target MZ
 * @plugindesc Always opaque touch UI.
 * @help Free to use and/or modify for any project, no credit required.
 */
Sprite_Button.prototype.updateOpacity = function() {
    this.opacity = 255;
};
Normally the opacity is set to 192 (~75%) unless the button is being clicked.
Maybe try this mini-plugin?
JavaScript:
/*:
 * @target MZ
 * @plugindesc Always opaque touch UI.
 * @help Free to use and/or modify for any project, no credit required.
 */
Sprite_Button.prototype.updateOpacity = function() {
    this.opacity = 255;
};
Normally the opacity is set to 192 (~75%) unless the button is being clicked.
12.png

oh, It WORKS! Thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/i-want-to-change-the-opacity-of-the-touch-ui.151564/