{{oldin|[[0.8.0]]|080|type=function}}
Get the separation between two shapes that are in contact.

The return value of this function is always zero or negative, with a negative value indicating overlap between the two shapes.
== Function ==
=== Synopsis ===
<source lang="lua">
distance = Contact:getSeparation( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|distance|The separation between the two shapes.}}
== See Also ==
* [[parent::Contact]]
[[Category:Functions]]
{{#set:Description=Get the separation between two shapes that are in contact.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Contact:getSeparation}}