ParticleCount
Category: Particle Effects (Pro)
Signature
ParticleCount(system As Integer)
Returns
Integer
Description
Returns the number of currently live particles.
Performance and behavior
Expired particles are removed during UpdateParticles.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
Example
DebugPrint "Particles: " + Str(ParticleCount(particles))