---
title: "init(kineticFriction:staticFriction:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/clothsimulationcomponent/frictionoverridescollection/value/init(kineticfriction:staticfriction:)"
---

# init(kineticFriction:staticFriction:)

Creates a friction override value with the given friction coefficients.

## Declaration

```swift
init(kineticFriction: Float, staticFriction: Float)
```

## Parameters

- `kineticFriction`: The kinetic friction to use between the material pair.
- `staticFriction`: The static friction to use between the material pair.
