{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[ParticleSystem:setEmitterLifetime]]}}
Sets how long the particle system should emit particles (if -1 then it emits particles forever).
== Function ==
=== Synopsis ===
<source lang="lua">
ParticleSystem:setLifetime( life )
</source>
=== Arguments ===
{{param|number|life|The lifetime of the emitter (in seconds).}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::ParticleSystem]]
[[Category:Functions]]
{{#set:Description=Sets how long the particle system should emit particles (if -1 then it emits particles forever).}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|ParticleSystem:setLifetime}}