---
title: maximum
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uifloatrange/maximum
---

# maximum

The maximum range of motion for sliding and pin attachments.

## Declaration

```swift
var maximum: CGFloat
```

## Discussion

Discussion For sliding attachments, it represents the number of points to move along the axis of translation in the positive direction. For pin attachments, it represents the number of radians to rotate in the clockwise direction. This value must be greater than or equal to 0.

## See Also

### Getting the range values

- [minimum](uikit/uifloatrange/minimum.md)
