Difference between revisions of "Shape:getBody"

m (1 revision: Importing from potato (again).)
(Added missing oldin)
 
(6 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.
  
Get the body the shape is attached to.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Get the body the shape is attached to.}}
 
{{#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