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

# x

The first component in the vector.

## Declaration

```swift
var x: Float
```

```swift
var x: CGFloat
```

## See Also

### Components

- [y](scenekit/scnvector3/y.md)
- [z](scenekit/scnvector3/z.md)
