Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ParticleSystem.IsAlive

Switch to Manual
public bool IsAlive(bool withChildren = true);

Parameters

withChildren Check all child particle systems as well.

Returns

bool True if the particle system is still "alive", false if the particle system is done emitting particles and all particles are dead.

Description

Does the system have any live particles (or will produce more)?