Raycast Hitbox Help

So I have a raycast hitbox that hits a character 2.5 studs out from the lookVector of the players character. How would I make it so it hits objects in betweeen 2.5 studs out to 5 studs out.

Raycast across 7.5 studs: 2.5 for the start and 5 studs out from that. Anything in that cast has a distance away from the character of 2.5 studs but is within the 5 stud range (with 2.5 as an offset) to be valid for a hit. I feel like the answer is right in the question.