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

# label

A string that identifies the event.

## Declaration

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

## Discussion

Discussion Object and command labels are useful identifiers at runtime or when profiling and debugging your app using any Metal tool. See Naming resources and commands.

## See Also

### Identifying the event

- [device](metal/mtlevent/device.md)
