# Interface: RayCastInput Ray-cast input data. The ray extends from `p1` to `p1 + maxFraction * (p2 - p1)`. ## Properties ### maxFraction > **maxFraction**: `number` *** ### p1 > **p1**: [`Vec2Value`](/api/interfaces/Vec2Value) *** ### p2 > **p2**: [`Vec2Value`](/api/interfaces/Vec2Value)