---
title: "init(_:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/gesturecomponent/init(_:)"
---

# init(_:)

Creates a gesture component with the provided UI gesture.

## Declaration

```swift
init(_ gesture: some Gesture)
```
