# RaycastHit2D.Distance

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

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

## Property

<table border="1" class="docutils">
<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>

