---
title: removeAllParticleSystems()
framework: scenekit
role: symbol
role_heading: Instance Method
path: scenekit/scnscene/removeallparticlesystems()
---

# removeAllParticleSystems()

Removes any particle systems directly attached to the scene.

## Declaration

```swift
func removeAllParticleSystems()
```

## Discussion

Discussion Calling this method does not remove particle systems attached to nodes within the scene.

## See Also

### Working with Particle Systems in the Scene

- [addParticleSystem(_:transform:)](scenekit/scnscene/addparticlesystem(_:transform:).md)
- [particleSystems](scenekit/scnscene/particlesystems.md)
- [removeParticleSystem(_:)](scenekit/scnscene/removeparticlesystem(_:).md)
