---
title: "init(rawValue:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nstouch/touchtypemask/init(rawvalue:)"
---

# init(rawValue:)

Creates a new touch type mask from the given raw value.

## Declaration

```swift
init(rawValue: UInt)
```

## See Also

### Creating a Touch Type Mask

- [init(type:)](appkit/nstouch/touchtypemask/init(type:).md)
