# friction

> The effective friction used for the ContactPoint2D.

## Definition

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

```csharp
public float friction { get; }
```

### Remarks

When two [Collider2D](/engine/6000.7/script-reference/unityengine/collider2d.md) come into contact, their [\_friction](/engine/6000.7/script-reference/unityengine/collider2d/friction.md) values combine.

This property represents the combined friction and is used by the physics solver to calculate the collision response.

Additional Resources: [\_friction](/engine/6000.7/script-reference/unityengine/physicsmaterial2d/friction.md), [\_bounciness](/engine/6000.7/script-reference/unityengine/contactpoint2d/bounciness.md)
