ParticleSystem:getRotation

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

Gets the rotation of the image upon particle creation (in radians).

Function

Synopsis

min, max = ParticleSystem:getRotation( )

Arguments

Nothing.

Returns

number min
The minimum initial angle (radians).
number max
The maximum initial angle (radians).

See Also

Other Languages