Note this has nothing to do with UI. This will trace world, not screen space widgets.
- first of all, is this for a screen space or a world space widget?
- what are we clicking - a native button?
- pressing A/X gamepad button works out of the box, there’s no need to do anything special
We’ll need more details.