Difference between revisions of "Shape:getBody"

m (linkifying)
Line 1: Line 1:
 
{{newin|[[0.7.0]]|type=function}}
 
{{newin|[[0.7.0]]|type=function}}
Get the body the shape is attached to.
+
Get the [[Body]] the shape is attached to.
  
 
== Function ==
 
== Function ==

Revision as of 08:27, 16 October 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