---
title: mtl4CommandQueue
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcapturescope/mtl4commandqueue
---

# mtl4CommandQueue

If set, this scope will only capture Metal commands from the associated Metal 4 command queue. Defaults to nil (all command queues from the associated device are captured).

## Declaration

```swift
var mtl4CommandQueue: (any MTL4CommandQueue)? { get }
```
