<!--
{
  "availability" : [
    "iOS: 5.0.0 - 12.0.0",
    "iPadOS: 5.0.0 - 12.0.0",
    "macOS: 10.8.0 - 10.14.0",
    "tvOS: 9.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKEffectPropertyLight/spotExponent",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GLKEffectPropertyLight(py)spotExponent"
  },
  "title" : "spotExponent"
}
-->

# spotExponent

A value indicating how focused the spotlight is.

```
var spotExponent: GLfloat { get set }
```

## Discussion

The higher the value stored in the [`spotExponent`](/documentation/GLKit/GLKEffectPropertyLight/spotExponent) property, the tighter the focus of the spotlight. The default value is `0.0`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)