How do I get a reference to the Virtual Joysticks

I am looking to create a setup where if you tap the right virtual Joystick it will act like the right thumbstick button.
However, i have been unable to even get a reference to the virtual joysticks in blueprints.

My initial plan was to keep the basic virtual joysticks based on the Touch Interface. Then, in my player blueprint detect a touch event within the location of the right Joystick (so that would be control 2 in the touch interface)

But, as stated above i am unable to get a reference to the Touch Interface, or the Virtual Joysticks.

Any help would be greatly appreciated.

Thanks,

Luke

Ok, so it looks like that even if i was able to get the virtual joystick location my touch event will not be recognised.

Tried to print string the location of the touch to find it manually, when i touch over the right virtual joystick it does not trigger the touch event.

Back to the drawing board…

You can’t. It only passes input to player controller and that’s all.

Only way to get reference - is to create your own joysticks with widgets.

Or you can add buttons to touch interface “controls”, map input actions on that and process its input.

“Or you can add buttons to touch interface “controls”, map input actions on that and process its input.”
Yeah, i tried that but it consumes the top input so either it will be the thumbstick, or if you make the button first priority it becomes really inconsistent.

“Only way to get reference - is to create your own joysticks with widgets.”
Yeah, i went down that route before i discovered the touch interface stuff. Looks like it’s the solution. Shame that their isn’t more control over the touch interface stuff out the box.

Thanks for the help!

BTW I found out the hard way that UMG coordinates and touch coordinates are NOT the same, and you have to use the Geometry pin’s method nodes to translate between the two when I was making my own touch joystick.