# RaycastHit2D.Fraction

Fraction of the distance along the ray that the hit occurred.

![RaycastHit2D.Fraction](./images/RaycastHit2DFractionCalculator.png)

## Property

<table border="1" class="docutils">
<tbody valign="top">
<tr>
<td>
Raycast Hit 2D
</td>
<td>
RaycastHit2D
</td>
</tr>
<tr>
<td>
Fraction
</td>
<td>
Output fraction of the distance
</td>
</tr>
 </tbody>
</table>

