# gravity

> Get/Set the gravity vector applied to all bodies in the world, usually in m/s^2.

## Definition

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

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