---
title: "primaryDecision(at:)"
framework: cinematic
role: symbol
role_heading: Instance Method
path: "cinematic/cnscript-1ispe/primarydecision(at:)"
---

# primaryDecision(at:)

The primary decision that’s in effect at the specified time, unless it’s outside the time range of the Cinematic script.

## Declaration

```swift
final func primaryDecision(at time: CMTime) -> CNDecision?
```

## Parameters

- `time`: The time of interest.

## Return Value

Return Value A value representing the primary decision that’s in effect at the specified time, unless it’s outside the time range of the Cinematic script. The value also represents the decision being transitioned away from the given time is during a focus transition.
