<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptionRenderer/Scene/hasActiveCaptions",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptionRendererScene(py)hasActiveCaptions"
  },
  "title" : "hasActiveCaptions"
}
-->

# hasActiveCaptions

A Boolean value that indicates whether the scene contains one or more active captions.

```
var hasActiveCaptions: Bool { get }
```

## Discussion

Knowing when the renderer has active captions can be useful to scrub to times where captions are present, or skip scenes where no captions exist.

> Important:
> Don’t use this property value to restrict drawing. Instead, draw an empty fill in ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptionRenderer/render(in:for:)`` when there aren’t active captions to render.

---

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)