object.particlePaused

Type Boolean
Object ParticleSystem
Library physics.*
Revision Current Public Release (2017.3068)
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