<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Cinematic",
  "identifier" : "/documentation/Cinematic/CNScript-1ispe/Changes",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Cinematic"
    ],
    "preciseIdentifier" : "s:9Cinematic8CNScriptC7ChangesV"
  },
  "title" : "CNScript.Changes"
}
-->

# CNScript.Changes

An object that represents a snapshot of the changes made to a movie script, including the added user decisions and detection tracks.

```
struct Changes
```

## Overview

Use as a snapshot to quickly revert to previously saved edits.

## Topics

### Initializers

[`init?(dataRepresentation: Data)`](/documentation/Cinematic/CNScript-1ispe/Changes/init(dataRepresentation:))

Creates a previously saved data representation.

### Instance Properties

[`var addedDetectionTracks: [CNDetectionTrack]`](/documentation/Cinematic/CNScript-1ispe/Changes/addedDetectionTracks)

All detection tracks added since recording the movie.

[`var dataRepresentation: Data`](/documentation/Cinematic/CNScript-1ispe/Changes/dataRepresentation)

Persistent data representation of changes for later restoration.

[`var fNumber: Float`](/documentation/Cinematic/CNScript-1ispe/Changes/fNumber)

The f/number to apply to the entire movie.

[`var userDecisions: [CNDecision]`](/documentation/Cinematic/CNScript-1ispe/Changes/userDecisions)

All active user decisions, including those made at recording time, unless removed.

---

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)