Ray Grab Quick Action
Updated: Nov 3, 2025
Interaction SDK provides a Ray Grab quick action utility, available via the right-click menu in the Heirarchy panel, to automate setting up objects within the scene to be grabbable via ray casting.
This simplifies the process of setting up ray grab interactions in a scene, making it easier for developers to create immersive experiences. In this guide, you’ll learn how to use the quick action utility to make objects grabbable via ray casting.
How does the Ray Grab Quick Action work?
The Ray Grab Wizard, which contains settings and required component options for configuring the Ray Grab quick action, is displayed when the Ray Grab quick action is selected. Once configured, the user can click Create and the quick action will handle creating all necessary components and wiring everything up to create a ray grabbable object. The settings and required components are explained below.
| Setting | Description |
|---|
Add Required Interactors | Specifies which device or input types - Hands, Controllers and Hands, Controllers Driven Hands, Everything, Nothing - to add grab interactors to, if not already present. Multiple device types can be selected. |
A ray grab interaction requires the following components to be present on the ray grabbable object:
- a Transform component so the object has a position, orientation, and scale.
- a Rigidbody component on the grabbable object so its position and orientation can be simulated.
A ray grab interaction can use the following components to be present, if desired:
- a ISurface component to use for hit testing the interaction. A collider can be used instead, if desired.
- a Box Collider component to use for hit testing the interaction if no
ISurface is specified above.