---
title: theta
framework: vision
role: symbol
role_heading: Instance Property
path: vision/vnvector/theta
---

# theta

The angle between the vector direction and the positive direction of the x-axis.

## Declaration

```swift
var theta: Double { get }
```

## See Also

### Inspecting a Vector

- [length](vision/vnvector/length.md)
- [r](vision/vnvector/r.md)
- [squaredLength](vision/vnvector/squaredlength.md)
- [x](vision/vnvector/x.md)
- [y](vision/vnvector/y.md)
- [dotProduct(of:vector:)](vision/vnvector/dotproduct(of:vector:).md)
- [unitVector(for:)](vision/vnvector/unitvector(for:).md)
