---
title: localFront
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scnnode/localfront
---

# localFront

The unit vector SceneKit treats as “forward” in local space for all nodes.

## Declaration

```swift
class var localFront: SCNVector3 { get }
```

## Discussion

Discussion The “forward” direction of a node affects cameras and directional lighting attached to a node, as well as relative orientation and movement effects such as look(at:), SCNLookAtConstraint, and SCNBillboardConstraint. This vector is always (0, 0, -1) for all nodes, but you can use this class property when it’s convenient to refer to directions symbolically.

## See Also

### Related Documentation

- [simdLocalFront](scenekit/scnnode/simdlocalfront.md)

### Calculating Node-Relative Transforms (SceneKit Types)

- [localRight](scenekit/scnnode/localright.md)
- [localUp](scenekit/scnnode/localup.md)
- [worldRight](scenekit/scnnode/worldright.md)
- [worldUp](scenekit/scnnode/worldup.md)
- [worldFront](scenekit/scnnode/worldfront.md)
