# transform

> The Transform of the object we hit (Read Only).

## Definition

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

```csharp
public Transform transform { get; }
```

### Remarks

If we collided against a collider with a [Rigidbody](/engine/6000.0/script-reference/unityengine/rigidbody.md), the transform will be the transform attached to the rigidbody. If we collided against a collider without a rigidbody, the transform will be the transform attached to the collider.
