# motor

> Parameters for a motor force that is applied automatically to the Rigidbody2D along the line.

## Definition

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

```csharp
public JointMotor2D motor { get; set; }
```

### Remarks

Additional Resources: [WheelJoint2D.useMotor](/engine/6000.3/script-reference/unityengine/wheeljoint2d/usemotor.md).
