- Home /
Is there a way to activate a button press in unity xr using the interactor events
Is there a way to activate a button press in unity XR using the interactor events, without pressing the controller button. I want to activate buttons and input field by hovering on the button or the inputfield
Comment
Answer by Seve2 · Jan 23, 2021 at 05:12 PM
I had to add a pointer enter event on the button to make it work. Unity buttons comes with onclick event by default, so this needed to be changed
Your answer
![](https://koobas.hobune.stream/wayback/20220613023819im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
ScrollRect and IDragHandler on touch devices 1 Answer
VR UI issue 1 Answer
Which UI events propagate? 0 Answers
How do I make a look at over time button for Oculus rift and Gear VR? 0 Answers
UnityEngine.EventSystems.. Trying to figure it out .js 1 Answer