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

# translate(by:)

Translates the entity by the specified vector.

## Declaration

```swift
mutating func translate(by vector: Self.Vector)
```

## Parameters

- `vector`: The vector that defines that translation.
