# Sandbox.PhysicsTraceBuilder.RunAgainstSphere

```csharp
PhysicsTraceResult RunAgainstSphere(in Sphere sphere, in Transform transform)
```

Traces only against the given sphere at the specified transform.

### Parameters

- `in sphere` (`Sphere`): The sphere to test against.
- `in transform` (`Transform`): Transform applied to the sphere.

### Returns

`PhysicsTraceResult`: The trace result.

Declared in [Sandbox.PhysicsTraceBuilder](/api/Sandbox.PhysicsTraceBuilder).
Assembly: `Sandbox.Engine`.
