# target

> The world-space position that is currently trying to be maintained.

## Definition

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

```csharp
public Vector2 target { get; }
```

### Remarks

The joint constantly attempts to move the [Rigidbody2D](/engine/6000.0/script-reference/unityengine/rigidbody2d.md) to the target.  The target is defined by both the [RelativeJoint2D.linearOffset](/engine/6000.0/script-reference/unityengine/relativejoint2d/linearoffset.md) and [RelativeJoint2D.angularOffset](/engine/6000.0/script-reference/unityengine/relativejoint2d/angularoffset.md) to the ::Joint2D::connectedBody.

Additional Resources: [RelativeJoint2D.linearOffset](/engine/6000.0/script-reference/unityengine/relativejoint2d/linearoffset.md), [RelativeJoint2D.angularOffset](/engine/6000.0/script-reference/unityengine/relativejoint2d/angularoffset.md), ::Joint2D::connectedBody.
