---
title: positions
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothmeshresource/positions
---

# positions

The positions of all the vertices.

## Declaration

```swift
final var positions: Span<SIMD3<Float>> { get }
```

## Discussion

Discussion The span’s lifetime is tied to self. warning: These positions correspond to the mesh used to generate the bodies, rather than the bodies themselves. Therefore, these positions do not change as the body deforms when this resource is used in mesh.

## See Also

### Accessing vertex data

- [vertexCount](realitykit/clothmeshresource/vertexcount.md)
- [position(at:)](realitykit/clothmeshresource/position(at:).md)
- [withPositions(_:)](realitykit/clothmeshresource/withpositions(_:).md)
- [vertexIndex(at:)](realitykit/clothmeshresource/vertexindex(at:).md)
- [vertexIndex(primitive:vertex:)](realitykit/clothmeshresource/vertexindex(primitive:vertex:).md)
- [vertices(in:center:orientation:)](realitykit/clothmeshresource/vertices(in:center:orientation:).md)
