OnClicked event not working with motion controller

I’m trying to create a material change sequence of events in VR. I have the second part working where I can click on a widget button and change an objects materials, But I’m trying to make it so when you click on the object the widget appears.

I have the widget attached invisibly to my player pawn, in theory it will change visibility when an object is clicked on.

As I said, I can get the controller to click on buttons but I’m trying something as simple as printing a string when an object is clicked on, but it’s not responding to my static object.

I’ve tried everything I can think of and other peoples posts on the internet. I’ve made sure there’s a collision on the object. I’ve changed the Input>Auto Receive Input to Player 0 in the blueprints. Nothing seems to be working.

If it helps, I have a red pointer debug coming off the controllers and when they hover over the widget a ball appears on the end (i’m guessing to show it’s hitting it) but there is no ball on my static mesh.

The red pointer you’re talking about is a Widget Interaction Component. It will only interact with Widgets. To interact with world objects you would probably use a Line Trace.
The node you have in the screenshot would not work in VR afaik. That would be triggered if you clicked with a mouse cursor.

Thanks for that. I now have a line trace coming off the controllers and successfully printing every actors display name. However I don’t know where to go from here, I need to make it so that when controller button is pressed and the line trace is hitting actor ‘X’ (for instance) then it toggles the widgets visibility. I can’t see anything about this on the internet. Can someone please point me in the right direction.