# useSpring

> Enables the joint's _spring. Disabled by default.

## Definition

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

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

### Remarks

Enabling the [\_motor](/engine/6000.7/script-reference/unityengine/hingejoint/motor.md) **overrides** the spring, given the spring was enabled. If the motor is again disabled the spring will be restored.

Additional Resources: [JointSpring](/engine/6000.7/script-reference/unityengine/jointspring.md)
