DrawParticles
Category: Particle Effects (Pro)
Signature
DrawParticles(system As Integer)
Returns
Void
Description
Draws all live particles through the platform's native batched primitive or image renderer.
Performance and behavior
Draw state is preserved. Image particles use their assigned image, randomized scale, and rotation. Particle simulation and drawing are separate so a game may update at a different cadence.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
Example
DrawParticles particles