# useSpring

> Enables the joint's HingeJoint.spring. Disabled by default.

## Definition

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

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

### Remarks

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

Enabling the [HingeJoint.motor](/engine/6000.6/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.
