ParticleSystem:moveTo

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

Moves the position of the emitter. This results in smoother particle spawning behaviour than if ParticleSystem:setPosition is used every frame.

Function

Synopsis

ParticleSystem:moveTo( x, y )

Arguments

number x
Position along x-axis.
number y
Position along y-axis.

Returns

Nothing.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ParticleSystem:moveTo