Difference between revisions of "Shape:getBody"
m (1 revision: Importing from potato (again).) |
(add note saying it may not be available (it is not in version I use)) |
||
Line 1: | Line 1: | ||
+ | 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 09:40, 28 February 2010
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
Synopsis
body = Shape:getBody( )
Arguments
None.
Returns
Body body
- The body the shape is attached to.