Getting Y direction of camera

I’m using camera.CFrame.LookVector now, but when i raycast using that as the direction, the Y has an offset that varies based on how far im standing away, what I’m looking for is a way to get the Y level properly

Maybe you’re looking for camera.CFrame.UpVector, which is the Y correspondent of the LookVector.