---
title: "translate(by:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/translatable3d/translate(by:)-86nwy"
---

# translate(by:)

Translates the entity by the specified size.

## Declaration

```swift
mutating func translate(by size: Size3D)
```

## Parameters

- `size`: The size structure that defines the translation.

## See Also

### Deprecated methods

- [translated(by:)](spatial/translatable3d/translated(by:)-9ndur.md)
