← Documentation Home

FreeParticleSystem

Category: Particle Effects (Pro)

Back to System Functions


Signature

FreeParticleSystem(system As Integer)

Returns

Void

Description

Releases a particle system and all native simulation and adaptive-tree storage owned by it.

Performance and behavior

The handle becomes invalid immediately. Free a system before freeing an image assigned to it when both are no longer needed.

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

Example

FreeParticleSystem particles