How to get keyboard focus to UMG?

I created a 3D UMG Widget as a menu with buttons.
I added it as a component to My Character.
I want it to get keyboard focus on Begin Play but I can’t.
Whatever I do, until I touch the component with the mouse, the keyboard focus does not get there.
I tried so many things.
Thanks for helping.
Gary

When you add it to the viewport there is a node called “Set Keyboard Focus” or very similar… I don’t have the exact name memorized right now. Anyway by searching focus or keyboard while pulling out the widget reference it will surely come up.

That should work like you want it to.

Cheers.

Erasio
Thanks for the answer but I still don’t get it.
I created a 3D Widget according to this tutorial: https://docs.unrealengine.com/latest/INT/Engine/UMG/HowTo/Create3DWidgets/index.html
And according to the tutorial added the widget as a component to my world.
So I am not calling “Add to Viewport” on the component because it is already statically part of the level.
And here is the simple graph I am using.
It does not get the focus to the buttons of the UMG menu until I click the mouse on it.
Thanks
Gary

Well then just do it right after your “Set Input Mode” node.

By the way the exact name is “Set Keyboard Focus” as I wrote early. I was not mistaken as I assumed.

3D UMG widgets do not accept keyboard input. Adding them to the viewport would turn them into regular widgets and if you remove them from the viewport the ^d one would use functionality. You need to create your own solution for passing keystrokes from your character to the 3d widget Thankfully, you can do it in blueprints.

That’s disappointing! Anyone know if keyboard input support for 3D UMG widgets is planned for the future?