##### Views

- Page
- Discussion
- View source
- History

# ParticleSystem:getLinearAcceleration

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

Gets 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

xmin, ymin, xmax, ymax = ParticleSystem:getLinearAcceleration( )

### Arguments

Nothing.

### Returns

`number xmin`
  The minimum acceleration along the x axis.
`number ymin`
  The minimum acceleration along the y axis.
`number xmax (xmin)`
  The maximum acceleration along the x axis.
`number ymax (ymin)`
  The maximum acceleration along the y axis.

## See Also

- ParticleSystem
- ParticleSystem:setLinearAcceleration

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/ParticleSystem:getLinearAcceleration"
Categories: Templates | Functions

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties