# useMotor

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

## Definition

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

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

### Remarks

Additional Resources: [\_motor](/engine/6000.7/script-reference/unityengine/hingejoint2d/motor.md)
