# enableSpring

> Enable/Disable the spring behaviour. If false then the joint will be rigid, overriding the limit and motor.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public bool enableSpring { get; set; }
```
