Clearing Editable Textbox

Sorry for the delayed response but I was able to figure it out. Heres how I got it:

  • I created a widget that is my “menu” without the editable text box.

  • Next, I created another widget for the editable text box. Make sure the box is set as a variable

  • Now in the editable text box widget, in the override functions, select On Added to Focus Path and add a set text node to that.

  • In my textbox menu BP I created the textbox widget on construct and added the widget as a child to my menu widget, specifically the horizontal box.

  • In my level BP a created the menu widget on begin play, added it to the viewport, set the game input mode Game and UI, and set show mouse cursor to true.
  • Here’s how it turned out:

245426-textbox.gif

1 Like