---
title: "module::addPosition"
framework: Compute Graph
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/module/addposition
---

# module::addPosition

Moves an element by adding an offset to its current position.

## Declaration

```swift
void module::addPosition(float3 offset)
```

## Parameters

- `offset`: The offset vector to add to the current position

## Discussion

Discussion Use this function to translate an element relative to its current location by applying a position offset. note:
