How to use Hololens 2 Gestures

I’m making AR application and the clients asked me to add Hololens 2 support.
He would like to make an interaction with pinching gestures.
I could not find in the docs how to detect user making gestures.

In your project’s Input settings, you can add an action mapping to MotionController (L/R) Grip1 which corresponds to the Grasp gesture in HoloLens for that hand.


Overview of different gestures available on HoloLens 2: