# gravitySlipAngle

> When the gravity movement causes a contact with a Collider2D, slippage maybe occur if the surface angle is greater than this angle.

## Definition

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

```csharp
public float gravitySlipAngle { readonly get; set; }
```

### Remarks

Use this angle threshold to control whether slippage will occur on surface slopes above the threshold.

The angle is in degrees and is relative to the [\_surfaceUp](/engine/6000.7/script-reference/unityengine/rigidbody2d/slidemovement/surfaceup.md) vector.

**NOTE:** Slippage will only occur if no initial `velocity` is passed to the [Rigidbody2D.Slide](/engine/6000.7/script-reference/unityengine/rigidbody2d/slide.md) method. Slippage will always occur if [\_surfaceUp](/engine/6000.7/script-reference/unityengine/rigidbody2d/slidemovement/surfaceup.md) has zero magnitude.

Additional Resources: [\_surfaceSlideAngle](/engine/6000.7/script-reference/unityengine/rigidbody2d/slidemovement/surfaceslideangle.md), [Rigidbody2D.Slide](/engine/6000.7/script-reference/unityengine/rigidbody2d/slide.md), [Rigidbody2D.SlideResults](/engine/6000.7/script-reference/unityengine/rigidbody2d/slideresults.md)
