Body:getType

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

Returns the type of the body.

Function

Synopsis

type = Body:getType( )

Arguments

None.

Returns

BodyType type
The body type.

See Also


Other Languages