---
title: weight
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothbodycomponent/targetshape/weight
---

# weight

The weight by which the body will be pulled towards this target shape.

## Declaration

```swift
var weight: Float
```

## Discussion

Discussion Clamped between 0 and 1. A weight of 0 will effectively inactivate the target shape.

## See Also

### Configuring the target shape

- [space](realitykit/clothbodycomponent/targetshape/space.md)
