---
title: label
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4commandqueuedescriptor/label
---

# label

Assigns an optional label to the command queue instance for debugging purposes.

## Declaration

```swift
var label: String? { get set }
```
