---
title: "resetDeformation(entity:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/clothbodycomponent/resetdeformation(entity:)"
---

# resetDeformation(entity:)

Resets the deformation of the cloth body to its initial pose and motion.

## Declaration

```swift
static func resetDeformation(entity: Entity)
```

## Parameters

- `entity`: The entity whose cloth body should be reset.

## See Also

### Controlling cloth motion

- [motionTypes](realitykit/clothbodycomponent/motiontypes.md)
- [ClothBodyComponent.ParticleMotionType](realitykit/clothbodycomponent/particlemotiontype.md)
- [mass](realitykit/clothbodycomponent/mass.md)
