# RaycastHit2D.Distance

The distance from the ray's origin to the impact point.

![RaycastHit2D.Distance](./images/RaycastHit2DDistanceCalculator.png)

## Properties

<table border="1" class="docutils">
<thead>
<tr><th>Property Name</th><th>Description</th></tr>
</thead>
<tbody valign="top">
<tr>
<td>
Raycast Hit 2D
</td>
<td>
RaycastHit2D
</td>
</tr>
<tr>
<td>
Distance
</td>
<td>
Output the hit distance
</td>
</tr>
 </tbody>
</table>

