---
title: ScrollTransitionConfiguration.Threshold
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/scrolltransitionconfiguration/threshold
---

# ScrollTransitionConfiguration.Threshold

Describes a specific point in the progression of a target view within a container from hidden (fully outside the container) to visible.

## Declaration

```swift
struct Threshold
```

## Topics

### Getting the threshold

- [centered](swiftui/scrolltransitionconfiguration/threshold/centered.md)
- [hidden](swiftui/scrolltransitionconfiguration/threshold/hidden.md)
- [visible](swiftui/scrolltransitionconfiguration/threshold/visible.md)
- [visible(_:)](swiftui/scrolltransitionconfiguration/threshold/visible(_:).md)

### Modifying the threshold

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

## See Also

### Accessing the configuration

- [animation(_:)](swiftui/scrolltransitionconfiguration/animation(_:).md)
- [threshold(_:)](swiftui/scrolltransitionconfiguration/threshold(_:).md)
