---
title: "timeRangeOfTransition(before:)"
framework: cinematic
role: symbol
role_heading: Instance Method
path: "cinematic/cnscript-1ispe/timerangeoftransition(before:)"
---

# timeRangeOfTransition(before:)

The time range during which the focus transitioned toward the given decision.

## Declaration

```swift
final func timeRangeOfTransition(before decision: CNDecision) -> CMTimeRange
```

## Parameters

- `decision`: The decision of interest.

## Return Value

Return Value A value representing the time range during which the focus transitioned toward the given decision.
