---
title: w
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnvector4/w
---

# w

The fourth component in the vector.

## Declaration

```swift
var w: Float
```

```swift
var w: CGFloat
```

## See Also

### Components

- [x](scenekit/scnvector4/x.md)
- [y](scenekit/scnvector4/y.md)
- [z](scenekit/scnvector4/z.md)
