<!--
{
  "availability" : [
    "iOS: 4.0.0 - 26.0.0",
    "iPadOS: 4.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.7.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMutableVideoCompositionLayerInstruction/init(assetTrack:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMutableVideoCompositionLayerInstruction(cm)videoCompositionLayerInstructionWithAssetTrack:"
  },
  "title" : "init(assetTrack:)"
}
-->

# init(assetTrack:)

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

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

## Parameters

`track`

The asset track to which to apply the instruction.

## Return Value

A new mutable video composition layer instruction with no transform or opacity ramps and [`trackID`](/documentation/AVFoundation/AVMutableVideoCompositionLayerInstruction/trackID) initialized to the track ID of `track`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)