# SetStaticFriction(int, float)

> Set the static friction coefficient at a particular point of the contact pair.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public void SetStaticFriction(int i, float staticFriction)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the contact point.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The static friction coefficient at a contact point.

### Remarks

Normally, the static friction coefficient is between 0 and 1.
