---
title: has_direction
framework: ComputeGraph
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/viewpoint-swift.struct/has_direction
---

# has_direction

Indicates whether a valid direction is available.

## Declaration

```swift
var has_direction: Bool
```

## Discussion

Discussion When false, the direction value should not be used.
