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

# init(rawValue:)

Creates a gesture velocity with a raw value, expressed as a float.

## Declaration

```swift
init(rawValue: CGFloat)
```

## Parameters

- `rawValue`: The raw value to use as the gesture velocity.

## See Also

### Creating a gesture velocity

- [init(_:)](xcuiautomation/xcuigesturevelocity/init(_:).md)
