---
title: gobo
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnlight/gobo
---

# gobo

An image or other visual content affecting the shape and color of a light’s illuminated area.

## Declaration

```swift
var gobo: SCNMaterialProperty? { get }
```

## Discussion

Discussion In photographic and stage lighting terminology, a gobo (also known as a flag or cookie) is a stencil, gel, or other object placed just in front of a light source, shaping or coloring the beam of light. You alter the appearance of a spotlight by changing the contents property of the object permanently assigned to this property. As with other material properties, you can use a color or image, or a Core Animation layer containing animated content, as a lighting gobo. This property applies only to lights whose type property is spot.

## See Also

### Managing Spotlight Extent

- [spotInnerAngle](scenekit/scnlight/spotinnerangle.md)
- [spotOuterAngle](scenekit/scnlight/spotouterangle.md)
