---
title: UIScrollTypeMask
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uiscrolltypemask
---

# UIScrollTypeMask

A bit mask identifying the scroll type of a pan gesture.

## Declaration

```swift
struct UIScrollTypeMask
```

## Topics

### Scroll types

- [all](uikit/uiscrolltypemask/all.md)
- [continuous](uikit/uiscrolltypemask/continuous.md)
- [discrete](uikit/uiscrolltypemask/discrete.md)

### Initializer

- [init(rawValue:)](uikit/uiscrolltypemask/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Tracking scroll events

- [allowedScrollTypesMask](uikit/uipangesturerecognizer/allowedscrolltypesmask.md)
- [UIScrollType](uikit/uiscrolltype.md)
