# autoConfigureTarget

> Should the target be calculated automatically?

## Definition

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

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

### Remarks

When true, the `target` property will be calculated automatically to match the current [Rigidbody2D](/engine/6000.5/script-reference/unityengine/rigidbody2d.md) position.  When false, the `target` property is not modified.

Additional Resources: [TargetJoint2D.target](/engine/6000.5/script-reference/unityengine/targetjoint2d/target.md).
