---
title: initialMeshDraping
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothbodycomponent/initialmeshdraping
---

# initialMeshDraping

An optional pose that specifies an already draped configuration of the cloth at the start of the simulation.

## Declaration

```swift
var initialMeshDraping: ClothPoseResource? { get }
```

## Discussion

Discussion This configuration is applied when the body is created or reset, providing the cloth with an initial settled state. In contrast, the rest pose defined by mesh represents the reference shape that the cloth attempts to preserve during deformation. The number and ordering of positions in this pose resource must match those of the mesh.

## See Also

### Creating a cloth body

- [init(mesh:meshDraping:)](realitykit/clothbodycomponent/init(mesh:meshdraping:).md)
- [mesh](realitykit/clothbodycomponent/mesh.md)
