Skip to main content
Up and Coming
October 11, 2025
Question

Grabbable Events

I need an event to happen when the player grabs the object using the Grabbable component. I don't see that option on the script nor is it accesible. How can i do this? 

2 replies

New Participant
October 11, 2025

You likely want to use the `InteractableUnityEventWrapper` component. You can then wire up the `Select` (grab) and `Unselect` events.

Drag your Intractable/Interaction view in the editor, and it will prompt you if you want it for Hand or Controller interactions.

 

Meta Employee
October 20, 2025

Hi rex.gatling.963,

Electrobeer's answer is the correct one if you want to wire it to every GrabInteractable in your object.

If, alternatively, you want to directly get this from the Grabbable.cs you can do something like: 

```
public Grabbable myGrabbable;

void OnEnable()
{
    myGrabbable.WhenPointerEventRaised += HandlePointerEventRaised;
}

void HandlePointerEventRaised(PointerEvent evt)
{
    if (evt.Type == PointerEventType.Select)
    {
        // Do Something
    }
}
```

or create your own component similar to  InteractableUnityEventWrapper.cs if you want to expose it as a UnityEvent and wire it in the Inspector.