# Longer Raycasts = Cost More

When giving a Direction Vector in workspace:Raycast(origin, direction, params), the magnitude plays quite a large role in how efficient it is used.\
\
The longer a raycast is, the more containers it will need to traverse, meaning that it will take more work to process it. Try to keep your raycast lengths as small as you can.
