---
title: "init(strength:axis:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/vortexforceeffect/init(strength:axis:)"
---

# init(strength:axis:)

Creates a vortex force effect.

## Declaration

```swift
init(strength: Double, axis: SIMD3<Float>)
```

## Parameters

- `strength`: The magnitude of the force.
- `axis`: The vortex’s rotational axis centered at the effect origin.
