Body:getWorld

Available since LÖVE 0.9.2
This method is not supported in earlier versions.

Gets the World the body lives in.

Function

Synopsis

world = Body:getWorld( )

Arguments

None.

Returns

World world
The world the body lives in.

See Also

Other Languages