W3cubDocs

/LÖVE

ParticleSystem:getEmitterLifetime

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets how long the particle system will emit particles (if -1 then it emits particles forever).

Function

Synopsis

life = ParticleSystem:getEmitterLifetime( )

Arguments

Nothing.

Returns

number life
The lifetime of the emitter (in seconds).

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ParticleSystem:getEmitterLifetime