# useMotor

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

## Definition

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

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

### Remarks

Additional Resources: [JointMotor](/engine/6000.5/script-reference/unityengine/jointmotor.md)

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