<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNParticleSystem/systemSpawnedOnDying",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNParticleSystem(py)systemSpawnedOnDying"
  },
  "title" : "systemSpawnedOnDying"
}
-->

# systemSpawnedOnDying

Another particle system to be added to the scene when a particle dies.

```
var systemSpawnedOnDying: SCNParticleSystem? { get set }
```

## Discussion

When a particle reaches the end of its [`particleLifeSpan`](/documentation/SceneKit/SCNParticleSystem/particleLifeSpan) duration and is removed from the scene, SceneKit adds a copy of the specified particle system to the scene at the particle’s final location.

Use this property to simulate effects such as fireworks—one particle system simulates launching fireworks, and another particle system simulates each firework’s explosion.

The default value of this property is `nil`, specifying that no additional systems are added to the scene on particle death.

> Important:
> Adding a new particle system to the scene for each particle death can drastically increase the total number of rendered particles. To maintain adequate rendering performance, set the ``doc://com.apple.scenekit/documentation/SceneKit/SCNParticleSystem/loops`` property to <doc://com.apple.documentation/documentation/Swift/false> for any particle system you assign to the ``doc://com.apple.scenekit/documentation/SceneKit/SCNParticleSystem/systemSpawnedOnDying`` property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)