Difference between revisions of "Shape:getBody"

(The wiki always applies to the latest LÖVE version.)
Line 1: Line 1:
 +
{{newin|[[0.7.0]]|type=function}}
 
Get the body the shape is attached to.
 
Get the body the shape is attached to.
  

Revision as of 19:30, 28 September 2010

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Get the body the shape is attached to.

Function

Synopsis

body = Shape:getBody( )

Arguments

None.

Returns

Body body
The body the shape is attached to.

See Also