Text doesn't disappear after clicking or press key

A new feature that I would like to know about, is it possible to put text that does not disappear when the mouse is clicked or when a key is pressed.

I would like my text to remain visible after displaying it to keep the information on screen during gameplay.
Then, when I don't want the text anymore, I simply delete it.

Here's what I've managed to do so far → https://app.videas.fr/v/4f7b9fb6-a185-44d2-b8f6-994ac9daf3e0/

I just need a function to leave it visible the text at the top where it says "test" and make it disappear when I no longer need it.
Getting an "ERR_CONNECTION_TIMED_OUT" for the link. But in any case... without any plugins I'd say just use the show picture functionality. If you want to display dynamic text just like you would show a picture on screen, I don't think this can be done without a plugin.
Hello, I use SceneManager._scene.addChild(this._mainMenuCommandWindow) to add a window to the map scene so that your window will not disappear due to mouse and button presses. Some people say that addWindow can also be used, but I have not tried it.
I agree with werzaque - the simple thing is to make a picture of the text box and then Show Image.

If there's some reason you can't do that, check out gab window plugins.

Using addChild() for a window onto a scene does not appear to be the correct procedure. Looking at MZ's code, you should be using addWindow(), which adds it as a child of the window layer of the scene.
The plugin TextPicture.js is present by default in a new project. It lets you write text to a picture (including text codes like \v[n]), then manipulate that picture as usual with Show Picture & Move Picture.
I didn't find it very interesting to basically place an image with the text but after all why not it's the simplest solution for the moment that I can do, if necessary I would change that later.

Thanks to you all for your help
I didn't find it very interesting to basically place an image with the text
Isn't that what all text windows are? If you want the appearance of the letters appearing individually like a normal Show Text does, you can look at the gab plugins I already recommended above.

Or make a series of images with one letter difference and show them in sequence.

Either way, "placing an image" is what RPG Maker does anyway 😉

Original thread: https://forums.rpgmakerweb.com/threads/text-doesnt-disappear-after-clicking-or-press-key.161191/