Shape:getBody

Get the body the shape is attached to.

N.B. This function is not available in some versions of LÖVE. You may get an error if you try to use it.

Function

Synopsis

body = Shape:getBody( )

Arguments

None.

Returns

Body body
The body the shape is attached to.

See Also