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

# x

The first component in the vector.

## Declaration

```swift
var x: Float
```

```swift
var x: CGFloat
```

## See Also

### Components

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