---
title: "visible(_:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/scrolltransitionconfiguration/threshold/visible(_:)"
---

# visible(_:)

The target view is visible by the given amount, where zero is fully hidden, and one is fully visible.

## Declaration

```swift
static func visible(_ amount: Double) -> ScrollTransitionConfiguration.Threshold
```

## Discussion

Discussion Values less than zero or greater than one are clamped.

## See Also

### Getting the threshold

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