---
title: id
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/attachment/id
---

# id

The identifier of this attachment.

## Declaration

```swift
@MainActor @preconcurrency var id: AnyHashable
```
