# Maximum

> Uses a Maximum algorithm when combining friction or bounciness i.e. the maximum of the two values is used.

## Definition

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

```csharp
Maximum = 4
```

### Remarks

Given two friction or bounciness values, the Maximum algorithm used is: `valueA > valueB ? valueA : valueB`.
