---
title: "init(assetTrack:)"
framework: avfoundation
role: symbol
role_heading: Initializer
path: "avfoundation/avmutablevideocompositionlayerinstruction/init(assettrack:)"
---

# init(assetTrack:)

Creates a new mutable video composition layer instruction for the given track.

## Declaration

```swift
convenience init(assetTrack track: AVAssetTrack)
```

## Parameters

- `track`: The asset track to which to apply the instruction.

## Return Value

Return Value A new mutable video composition layer instruction with no transform or opacity ramps and trackID initialized to the track ID of track.
