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

# scaledBy(x:y:z:)

Returns the entity scaled by the specified values.

## Declaration

```swift
func scaledBy(x: Self.Scalar, y: Self.Scalar, z: Self.Scalar) -> Self
```

## 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.

## Discussion

Discussion Returns The scaled entity.
