<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/HasTransform/orientation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp"
  },
  "title" : "orientation"
}
-->

# orientation

The rotation of the entity relative to its parent.

```
@MainActor @preconcurrency var orientation: simd_quatf { get set }
```

## Discussion

This value is the entity’s rotation relative to its parent. To get the
world-space orientation of the entity, use
[`orientation(relativeTo:)`](/documentation/RealityKit/HasTransform/orientation(relativeTo:)), passing `nil` as the
reference entity.

This is the same as the [`rotation`](/documentation/RealityKit/Transform/rotation) value on the
[`transform`](/documentation/RealityKit/HasTransform/transform).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)