---
title: "simdLook(at:up:localFront:)"
framework: scenekit
role: symbol
role_heading: Instance Method
path: "scenekit/scnnode/simdlook(at:up:localfront:)"
---

# simdLook(at:up:localFront:)

Changes the node’s orientation so that the specified forward vector points toward the specified location.

## Declaration

```swift
func simdLook(at worldTarget: simd_float3, up worldUp: simd_float3, localFront: simd_float3)
```

## Parameters

- `worldTarget`: The point, in world space, to face the node toward.
- `worldUp`: The direction vector, in world space, that should appear as “up” from the rotated node’s point of view.
- `localFront`: The direction vector, in the node’s local space, that should orient toward the target point.

## 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

- [look(at:up:localFront:)](scenekit/scnnode/look(at:up:localfront:).md)

### Performing Node-Relative Operations

- [simdRotate(by:aroundTarget:)](scenekit/scnnode/simdrotate(by:aroundtarget:).md)
- [simdLocalTranslate(by:)](scenekit/scnnode/simdlocaltranslate(by:).md)
- [simdLocalRotate(by:)](scenekit/scnnode/simdlocalrotate(by:).md)
- [simdLook(at:)](scenekit/scnnode/simdlook(at:).md)
