Search code examples
unity-game-enginehololens

Disable Air-tap based button click on Holo Lens 2 (using Unity for development)


I am trying to disable only the air-tap on my buttons, while still keeping the GGV (Gaze/Gesture/Voice) pointer enabled. I am seeing ways to completely disable far interactions; but I want to retain far interactions (GGV pointer).


Solution

  • There isn't an easy way to disable Air-Tap. But for your requirements, you can try to use the SpeechInputHandler component instead of the Interactable component on those buttons that are easy to accidentally touch. Please refer to Speech - MRTK 2 | Microsoft Learn.