ParticleSystem:moveTo

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


Other Languages