{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[ParticleSystem:setLifetime]]}}
Sets how long the particle system should emit particles (if -1 then it emits particles forever).
== Function ==
=== Synopsis ===
<source lang="lua">
ParticleSystem:setEmitterLifetime( 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}}
== Other Languages ==
{{i18n|ParticleSystem:setEmitterLifetime}}