object.particlePaused

Type Boolean
Object ParticleSystem
Library physics.*
Revision Release 2022.3683
Keywords particlePaused, physics, LiquidFun
See also physics.newParticleSystem()

Overview

This boolean property controls pausing of the simulation of particles. This value is false by default, meaning that the simulation should be executed as normal.

Example

local particleSystem = physics.newParticleSystem(
    {
        filename = "particle.png",
        radius = 2
    }
)

particleSystem.particlePaused = false