Interact with Widget Component in world space

I have a “computer” in world space with a Widget Component for the screen. The screen, for now, is a login screen that I am trying to interact with. I can get the keyboard to interact with the text inputs and sign in button, but I can’t get the mouse curser to interact with any of it. Ideally, I would also only have the mouse cursor show within the widget.

I guess I have 2 questions. How can I get the mouse to interact with any of the Widget Component at all? How can I have a cursor displayed as if it is within the computer screen?

You have to:

  • Enable collisions on the actor that is holing the widget;
  • Set widget component to receive hardware input;
  • Set controller input with Set Input Mode Game and UI;

See this tutorial for the mouse of 3D menus: https://www.youtube.com/watch?v=4sxxe9_w9Zs

For the custom cursor (only in your widget) you will probably have to manually add an image and move it with your mouse.

1 Like

This worked great! Thank you :slight_smile:

My pleasure. You can mark it as a solution if it works.