Unity: How to pinch grab an object?


I'm having trouble figuring how to use hand gestures with the XR Grab Interactable system. I want to be able to grab an object on pinch/fist/point. Can someone point me in the right direction for this?

Unity Editor version: 2023
ML2 OS version: 1.3.1

@rob42lou if you are using XRI you will need to extend the XR Controller script or create a new input device.

I recommend following this guide on Unity Learn to get started: Hand tracking and gestures - Unity Learn