Difference between revisions of "Body:getShapes"

(Created page)
 
m
 
Line 13: Line 13:
 
* [[parent::Body]]
 
* [[parent::Body]]
 
* [[Shape]]
 
* [[Shape]]
 +
* [[Body:getShape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns a table with all Shapes attached to the Body.}}
 
{{#set:Description=Returns a table with all Shapes attached to the Body.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:getShapes}}
 
{{i18n|Body:getShapes}}

Latest revision as of 14:45, 13 April 2024

Available since LÖVE 12.0
It has replaced Body:getFixtures.

Returns a table with all Shapes attached to the Body.

Function

Synopsis

shapes = Body:getShapes( )

Arguments

None.

Returns

table shapes
A sequence with all shapes.

See Also

Other Languages