Difference between revisions of "Shape:getBody"

(add note saying it may not be available (it is not in version I use))
(The wiki always applies to the latest LÖVE version.)
Line 1: Line 1:
 
Get the body the shape is attached to.
 
Get the body the shape is attached to.
  
N.B. This function is not available in some versions of LÖVE. You may get an error if you try to use it.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 17:10, 28 February 2010

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