---
title: position
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/hastransform/position
---

# position

The position of the entity relative to its parent.

## Declaration

```swift
@MainActor @preconcurrency var position: SIMD3<Float> { get set }
```

## Mentioned in

Automatically animating RealityKit entities

## Discussion

Discussion This value is the entity’s position relative to its parent. To get the world-space position of the entity in the scene, use position(relativeTo:), passing nil as the reference entity. This is the same as the translation value on the transform.

## See Also

### Positioning an entity

- [position(relativeTo:)](realitykit/hastransform/position(relativeto:).md)
- [setPosition(_:relativeTo:)](realitykit/hastransform/setposition(_:relativeto:).md)
