---
title: spotDirection
framework: GLKit
role: symbol
role_heading: Instance Property
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkeffectpropertylight/spotdirection
---

# spotDirection

A vector indicating the direction the spotlight is projecting.

## Declaration

```swift
var spotDirection: GLKVector3 { get set }
```

## Discussion

Discussion The default direction is [0.0, 0.0, -1.0].

## See Also

### Configuring Spotlight Properties

- [spotCutoff](glkit/glkeffectpropertylight/spotcutoff.md)
- [spotExponent](glkit/glkeffectpropertylight/spotexponent.md)
