Difference between revisions of "Shape:getBody"

m (included link to other languages)
Line 1: Line 1:
{{newin|[[0.7.0]]|type=function}}
+
{{newin|[[0.7.0]]|070|type=function}}
 
Get the [[Body]] the shape is attached to.
 
Get the [[Body]] the shape is attached to.
  

Revision as of 10:48, 25 March 2011

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

Other Languages