# Ray.ToWorld

```csharp
Ray ToWorld(in Transform tx)
```

Convert a ray from being local to this transform

### Parameters

- `in tx` (`Transform`)

### Returns

`Ray`

Declared in [Ray](/api/Ray).
Assembly: `Sandbox.System`.
