---
title: "simdRotate(by:aroundTarget:)"
framework: scenekit
role: symbol
role_heading: Instance Method
path: "scenekit/scnnode/simdrotate(by:aroundtarget:)"
---

# simdRotate(by:aroundTarget:)

Changes the node’s position and orientation, relative to its current transform, through a rotation around the specified point in scene space.

## Declaration

```swift
func simdRotate(by worldRotation: simd_quatf, aroundTarget worldTarget: simd_float3)
```

## Parameters

- `worldRotation`: The axis and angle of rotation to apply, in scene space, expressed as a quaternion.
- `worldTarget`: The center point, in scene space, about which to rotate.

## Discussion

Discussion The effects of this method are animatable; that is, calling this method during an implicit-animation transaction animates the rotation effect. (See Animating SceneKit Content.)

## See Also

### Related Documentation

- [rotate(by:aroundTarget:)](scenekit/scnnode/rotate(by:aroundtarget:).md)

### Performing Node-Relative Operations

- [simdLocalTranslate(by:)](scenekit/scnnode/simdlocaltranslate(by:).md)
- [simdLocalRotate(by:)](scenekit/scnnode/simdlocalrotate(by:).md)
- [simdLook(at:)](scenekit/scnnode/simdlook(at:).md)
- [simdLook(at:up:localFront:)](scenekit/scnnode/simdlook(at:up:localfront:).md)
