# motorSpeed

> The desired speed for the Rigidbody2D to reach as it moves with the joint.

## Definition

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

```csharp
public float motorSpeed { get; set; }
```

### Remarks

Additional Resources: [Rigidbody2D](/engine/6000.5/script-reference/unityengine/rigidbody2d.md) class, [JointMotor2D.maxMotorTorque](/engine/6000.5/script-reference/unityengine/jointmotor2d/maxmotortorque.md).
