er">distance</span></a>(<span style="white-space:nowrap">pt1:<a class="type" title="lime.math.Vector2" href="../../lime/math/Vector2.html">Vector2</a>,</span> <span style="white-space:nowrap">pt2:<a class="type" title="lime.math.Vector2" href="../../lime/math/Vector2.html">Vector2</a></span>):<a class="type" title="Float - The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></h3><div class="doc"><p>Calculates the distance between two <code><a href="