---
title: "scale(by:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/scalable3dprotocol/scale(by:)"
---

# scale(by:)

Scales the entity by the specified size.

## Declaration

```swift
mutating func scale(by size: Self.Size)
```

## Parameters

- `size`: The size structure that defines that scale.
