# linearOffset

> The current linear offset between the Rigidbody2D that the joint connects.

## Definition

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

```csharp
public Vector2 linearOffset { get; set; }
```

### Remarks

The joint will attempt to maintain this linear offset between the connected [Rigidbody2D](/engine/6000.5/script-reference/unityengine/rigidbody2d.md) using a maximum force specified by [RelativeJoint2D.maxForce](/engine/6000.5/script-reference/unityengine/relativejoint2d/maxforce.md).

Additional Resources: [RelativeJoint2D.maxForce](/engine/6000.5/script-reference/unityengine/relativejoint2d/maxforce.md), [RelativeJoint2D.maxTorque](/engine/6000.5/script-reference/unityengine/relativejoint2d/maxtorque.md).
