How to write words in game?

Hello, I was wondering is there a way to write something in game, for example, if ‘T’ button is pressed you can write something. Maybe open a string or something?

You can use UMG input they allow input text. If you wish show the input when key T is pressed, then you must spawn a widget 3D whit the interaction or also you can put a HUD in the screen when the key is pressed.

Here is a nice example of umg input: HTF do I? Use the Editable Text Widget in UMG - YouTube.


Thank you for your answer, I will try this.