Body:getShape

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

Gets the first Shape attached to the Body.

Function

Synopsis

shape = Body:getShape( )

Arguments

None.

Returns

Shape shape
The first Shape attached to the Body.

See Also

Other Languages