If you don’t specify a range for the raycast it will be set to “infinity”, so yes technically it would go on forever. The Draw ray applies a color to the ray but you can also specify the exact same range value as the raycast so it only draws the actual length of the ray.
In the video we used “up * 10” for the draw ray section, so it only displayed a green ray for that specific length but with the actual ray we didn’t specify a length so it was actually much much longer than that. Hope that makes sense.