Get the anchor points of the joint.
== Function ==
=== Synopsis ===
<source lang="lua">
x1, y1, x2, y2 = Joint:getAnchors( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x1|The x-component of the anchor on Body 1.}}
{{param|number|y1|The y-component of the anchor on Body 1.}}
{{param|number|x2|The x-component of the anchor on Body 2.}}
{{param|number|y2|The y-component of the anchor on Body 2.}}
== See Also ==
* [[parent::Joint]]
[[Category:Functions]]
{{#set:Description=Get the anchor points of the joint.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Joint:getAnchors}}