---
title: elements
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/meshbuffer/elements
---

# elements

Access the buffer as an array. This may create a copy if the data are not already an array.

## Declaration

```swift
var elements: [Element] { get }
```

## See Also

### Inspecting a mesh

- [rate](realitykit/meshbuffer/rate.md)
