# gameObject

> The game object that was hit by the controller.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public GameObject gameObject { get; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void OnControllerColliderHit(ControllerColliderHit hit)
    {
        // Objects we touch, move them to position (0, 0, 0)
        hit.gameObject.transform.position = Vector3.zero;
    }
}
```
