---
title: offset
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipointeraccessory/position-swift.struct/offset
---

# offset

The offset of the accessory from the primary pointer.

## Declaration

```swift
var offset: CGFloat
```

## Discussion

Discussion This property only supports positive values.

## See Also

### Creating a custom accessory position

- [init(offset:angle:)](uikit/uipointeraccessory/position-swift.struct/init(offset:angle:).md)
- [angle](uikit/uipointeraccessory/position-swift.struct/angle.md)
- [defaultOffset](uikit/uipointeraccessory/position-swift.struct/defaultoffset.md)
