Difference between revisions of "Shape:getBody"

m (1 revision: Imported docs from potato.)
(Added missing oldin)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
+
{{newin|[[0.7.0]]|070|type=function}}
 +
{{oldin|[[0.8.0]]|080|type=function}}
 +
Get the [[Body]] the shape is attached to.
  
 
== Function ==
 
== Function ==
Line 13: Line 15:
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the body the shape is attached to.}}
 +
== Other Languages ==
 +
{{i18n|Shape:getBody}}

Latest revision as of 00:09, 8 January 2014

Available since LÖVE 0.7.0
This function is not supported in earlier versions.
Removed in LÖVE 0.8.0
This function is not supported in that and later 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