{{newin|[[0.9.0]]|090|type=function|text=It has replaced [[ParticleSystem:setGravity]]}}
Sets the linear acceleration (acceleration along the x and y axes) for particles.

Every particle created will accelerate along the x and y axes between xmin,ymin and xmax,ymax.
== Function ==
=== Synopsis ===
<source lang="lua">
ParticleSystem:setLinearAcceleration( xmin, ymin, xmax, ymax )
</source>
=== Arguments ===
{{param|number|xmin|The minimum acceleration along the x axis.}}
{{param|number|ymin|The minimum acceleration along the y axis.}}
{{param|number|xmax (xmin)|The maximum acceleration along the x axis.}}
{{param|number|ymax (ymin)|The maximum acceleration along the y axis.}}

=== Returns ===
Nothing.
== See Also ==
* [[parent::ParticleSystem]]
[[Category:Functions]]
{{#set:Description=Sets the linear acceleration (acceleration along the x and y axes) for particles.}}
== Other Languages ==
{{i18n|ParticleSystem:setLinearAcceleration}}