---
title: horizontal
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uioffset/horizontal
---

# horizontal

The amount of horizontal offset from a position.

## Declaration

```swift
var horizontal: CGFloat
```

## Discussion

Discussion Positive values indicate an offset to the right, and negative values indicate an offset to the left.

## See Also

### Getting the offset values

- [vertical](uikit/uioffset/vertical.md)
