World:getGravity

Get the gravity of the world.

Function

Synopsis

x, y = World:getGravity( )

Arguments

None.

Returns

number x
The x component of gravity.
number y
The y component of gravity.

See Also

Other Languages