{{newin|[[0.9.2]]|092|type=function}}
Gets the [[Body|bodies]] that the Joint is attached to.
== Function ==
=== Synopsis ===
<source lang="lua">
bodyA, bodyB = Joint:getBodies( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|Body|bodyA (nil)|The first Body.}}
{{param|Body|bodyB (nil)|The second Body.}}
== See Also ==
* [[parent::Joint]]
* [[Body]]
[[Category:Functions]]
{{#set:Description=Gets the [[Body|bodies]] that the Joint is attached to.}}
== Other Languages ==
{{i18n|Joint:getBodies}}