EmitterObject:stop()

Type Function
Object EmitterObject
Library display.*
Return value none
Revision 2017.3179
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()