---
title: "interpolated(towards:amount:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/scrolltransitionconfiguration/threshold/interpolated(towards:amount:)"
---

# interpolated(towards:amount:)

Creates a new threshold that combines this threshold value with another threshold, interpolated by the given amount.

## Declaration

```swift
func interpolated(towards other: ScrollTransitionConfiguration.Threshold, amount: Double) -> ScrollTransitionConfiguration.Threshold
```

## Parameters

- `other`: The second threshold value.
- `amount`: The ratio with which this threshold is combined with the given threshold, where zero is equal to this threshold, 1.0 is equal to other, and values in between combine the two thresholds.

## See Also

### Modifying the threshold

- [inset(by:)](swiftui/scrolltransitionconfiguration/threshold/inset(by:).md)
