EmitterObject:stop()

Type Function
Object EmitterObject
Library display.*
Return value none
Revision Release 2024.3703
Keywords EmitterObject, stop
See also display.newEmitter()
EmitterObject:start()

Overview

Stops the emission of particles from an EmitterObject. This function allows the currently active particles to finish their cycle naturally.

To remove all particles instantly, use object:removeSelf() on the EmitterObject.

Syntax

EmitterObject:stop()