3D Widget interaction via line trace

Is it possible to interact with a 3D widget using a line trace instead of mouse?
Any information would be wonderful!

Thanks
Matt

Hey Matt,

I’ve found a way that works well as a workaround. It wont use line tracing to select certain components in the widget, but it will focus on the widget with a single Line Trace-Click. I’ve added my Blueprint setup in the FirstPersonCharacter below:

This is a basic setup for the Line Tracing to occur whenever I use the left mouse button.

And this basically tells, that whenever I hit the Widget Blueprint, or any other Blueprint, the Line trace will enable the cursor focused on the Widget itself. This enables direct input without having to click again to focus

And here I’ve made a button in the widget wich will take the user back to the game itself without having to click outside the widget.

Hope this helps! Even if its almost a year later :slight_smile:

Mark