# centerOfMass

> The center of mass of the rigidBody in local space.

## Definition

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

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