{{oldin|[[0.9.0]]|090||type=function|text=It has been replaced by [[ParticleSystem:setLinearAcceleration]]}}
Sets the gravity affecting the particles (acceleration along the y-axis).
Every particle created will have a gravity between min and max.
== Function ==
=== Synopsis ===
<source lang="lua">
ParticleSystem:setGravity( min, max )
</source>
=== Arguments ===
{{param|number|min|The minimum gravity.}}
{{param|number|max (min)|The maximum gravity.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::ParticleSystem]]
[[Category:Functions]]
{{#set:Description=Sets the gravity affecting the particles (acceleration along the y-axis).}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|ParticleSystem:setGravity}}