Entering Textbox by pressing key?

Since I couldn’t really find an answer to this I’m going to hope for some help here.

So yeah the head line kinda explains it already.

How can I enter and leave a Textbox by hitting “Enter” for example.

I’ve seen some examples where I can run the node “Set Keyboard Focus” and stuff, where the Chat Widget is getting focused but I still have to drag my cursor and click the TextBox to enter.
Thats not exectly what I was looking for.

If anyone has a solution help me out.

I appreciate any answer I can get!

You can just call the function “Set Keyboard Focus” and Target to the Text box. Here in the example, Chat Entry is a text box inside “Chat Entry” Widget. Sorry weird naming just made a BP quickly.