---
title: attractionStrength
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/particleemittercomponent/particleemitter/attractionstrength
---

# attractionStrength

The particles are attracted to the attractionCenter by this amount. Defaults to 0.

## Declaration

```swift
var attractionStrength: Float
```
