---
title: location
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/gradient/stop/location
---

# location

The parametric location of the stop.

## Declaration

```swift
var location: CGFloat
```

## Discussion

Discussion This value must be in the range [0, 1].

## See Also

### Configuring a gradient stop

- [color](swiftui/gradient/stop/color.md)
