# center

> The position of the shape's centroid relative to the shape's origin.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public Vector2 center { readonly get; set; }
```
