VR grab interactable

Hi everyone! I’d like to know if there’s a way to trigger the select entered/exited event on a grab interactable only when grabbed but not when puto in a socket interactable

The Grabbing and the SocketInteractable are independent. If you want to know when something is grabbed, you can use the SelectEnter/Exit events on the XRGrabInteractable component (i.e., configure them in the Inspector) or if you prefer to make a drop-in component with no configuration needed then you do something like this and attach it to any Grabbable objects you want covered:

private XRGrabInteractable grabInteractable;

private void Awake()
    grabInteractable = GetComponent<XRGrabInteractable>();        

    // SELECT means GRAB -----------------------
    private void HandleSelectEnter(SelectEnterEventArgs arg0)
        // object was grabbed - do whatever you want here