function Mouse.Raycast(p,C,l,x)local j=p:GetRay(x)local v=workspace:Raycast(j.Origin,j.Direction*(l or RAY_DISTANCE),C)return v end

function Mouse:Raycast(raycastParams, distance, overridePos)
	local viewportMouseRay = self:GetRay(overridePos)
	local result = workspace:Raycast(viewportMouseRay.Origin, viewportMouseRay.Direction * (distance or RAY_DISTANCE), raycastParams)
	return result
end

