---
title: "init(rawValue:)"
framework: xcuiautomation
role: symbol
role_heading: Initializer
path: "xcuiautomation/xcuielement/keymodifierflags/init(rawvalue:)"
---

# init(rawValue:)

Creates a flag that represents a key in a combination keystroke with the specified raw value.

## Declaration

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

## Parameters

- `rawValue`: An unsigned integer that represents a key in a combination keystroke.
