<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNNode/rotation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNNode(py)rotation"
  },
  "title" : "rotation"
}
-->

# rotation

The node’s orientation, expressed as a rotation angle about an axis. Animatable.

```
var rotation: SCNVector4 { get set }
```

## Discussion

The four-component rotation vector specifies the direction of the rotation axis in the first three components and the angle of rotation (in radians) in the fourth. The default rotation is the zero vector, specifying no rotation. Rotation is applied relative to the node’s [`pivot`](/documentation/SceneKit/SCNNode/pivot) property.

The [`rotation`](/documentation/SceneKit/SCNNode/rotation), [`eulerAngles`](/documentation/SceneKit/SCNNode/eulerAngles), and [`orientation`](/documentation/SceneKit/SCNNode/orientation) properties all affect the rotational aspect of the node’s [`transform`](/documentation/SceneKit/SCNNode/transform) property. Any change to one of these properties is reflected in the others.

You can animate changes to this property’s value. See [Animating SceneKit Content](/documentation/SceneKit/animating-scenekit-content).

## See Also

[`simdRotation`](/documentation/SceneKit/SCNNode/simdRotation)

The node’s orientation, expressed as a rotation angle about an axis. Animatable.



---

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)