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

# translate(by:)

Translates the entity by the specified vector.

## Declaration

```swift
mutating func translate(by vector: Vector3D)
```

## Parameters

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

## See Also

### Instance methods

- [translated(by:)](spatial/translatable3d/translated(by:)-5h847.md)
