---
title: timeRange
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmutablevideocompositioninstruction/timerange
---

# timeRange

The time range to which the instruction applies.

## Declaration

```swift
var timeRange: CMTimeRange { get set }
```

## Discussion

Discussion If the time range is invalid, the video compositor ignores it.

## See Also

### Configuring the instructions

- [backgroundColor](avfoundation/avmutablevideocompositioninstruction/backgroundcolor.md)
- [layerInstructions](avfoundation/avmutablevideocompositioninstruction/layerinstructions.md)
- [enablePostProcessing](avfoundation/avmutablevideocompositioninstruction/enablepostprocessing.md)
