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

# label

A string that helps you identify the capture scope.

## Declaration

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

## Discussion

Discussion Setting a capture scope’s label makes it easier to find in Xcode. See Creating and using custom capture scopes for more information.

## See Also

### Identifying the capture scope

- [device](metal/mtlcapturescope/device.md)
- [commandQueue](metal/mtlcapturescope/commandqueue.md)
