# spring

> The stiffness of the spring limit. When stiffness is zero the limit is hard, otherwise soft.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public float spring { get; set; }
```

### Remarks

\{ 0, infinity }.
