---
title: localUp
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scnnode/localup
---

# localUp

The direction SceneKit treats as “up” in local space for all nodes.

## Declaration

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

## Discussion

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

## See Also

### Related Documentation

- [simdLocalUp](scenekit/scnnode/simdlocalup.md)

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

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