---
title: "UIPointerShape.horizontalBeam(length:)"
framework: uikit
role: symbol
role_heading: Case
path: "uikit/uipointershape-swift.enum/horizontalbeam(length:)"
---

# UIPointerShape.horizontalBeam(length:)

The pointer morphs into a horizontal beam using the specified length.

## Declaration

```swift
case horizontalBeam(length: CGFloat)
```

## See Also

### Specifying pointer shapes

- [UIPointerShape.verticalBeam(length:)](uikit/uipointershape-swift.enum/verticalbeam(length:).md)
- [UIPointerShape.path(_:)](uikit/uipointershape-swift.enum/path(_:).md)
- [UIPointerShape.roundedRect(_:radius:)](uikit/uipointershape-swift.enum/roundedrect(_:radius:).md)
