# Transform.WithScale

## Overload 1

```csharp
Transform WithScale(float scale)
```

Return this transform with a new scale.

### Parameters

- `scale` (`float`)

### Returns

`Transform`

## Overload 2

```csharp
Transform WithScale(in Vector3 scale)
```

Return this transform with a new scale.

### Parameters

- `in scale` (`Vector3`)

### Returns

`Transform`

Declared in [Transform](/api/Transform).
Assembly: `Sandbox.System`.
