← Documentation Home

ClearParticles

Category: Particle Effects (Pro)

Back to System Functions


Signature

ClearParticles(system As Integer)

Returns

Void

Description

Immediately removes every live particle without freeing the system's reserved storage or configuration.

Performance and behavior

Use this when restarting an effect. The next emission reuses the existing allocation.

Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.

Example

ClearParticles particles