---
title: "scaleBy(x:y:z:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/scalable3dprotocol/scaleby(x:y:z:)"
---

# scaleBy(x:y:z:)

Scales the entity by the specified values.

## Declaration

```swift
mutating func scaleBy(x: Self.Scalar, y: Self.Scalar, z: Self.Scalar)
```

## Parameters

- `x`: The scale factor on the x dimension.
- `y`: The scale factor on the y dimension.
- `z`: The scale factor on the z dimension.
