# Sandbox.ModelBuilder.WithSurface

```csharp
ModelBuilder WithSurface(string name)
```

Sets the surface used by collision shapes added directly to this builder.

### Parameters

- `name` (`string`): The surface name.

### Returns

`ModelBuilder`

Declared in [Sandbox.ModelBuilder](/api/Sandbox.ModelBuilder).
Assembly: `Sandbox.Engine`.
