---
title: "detectionTrack(for:)"
framework: cinematic
role: symbol
role_heading: Instance Method
path: "cinematic/cnscript-1ispe/detectiontrack(for:)-1xvsa"
---

# detectionTrack(for:)

A detection track representing all detections selected by a given decision.

## Declaration

```swift
final func detectionTrack(for decision: CNDecision) -> CNDetectionTrack?
```

## Parameters

- `decision`: The desired decision.

## Return Value

Return Value A detection track representing all detections selected by a given decision.
