# useMotor

> Should the joint be rotated automatically by a motor torque?

## Definition

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

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

### Remarks

Additional Resources: [HingeJoint2D.motor](/engine/6000.0/script-reference/unityengine/hingejoint2d/motor.md).
