Mouse and character primaryPart unit

Hello! I have an problem with the unit between mouse position and character primaryPart position. Basically the part’s position is not the same as the mouse position
Here the code: part2.Position = (mouseP - cameraPos).Unit * 150
Here the result: gyazo
any help?

I’m not 100% sure if this is the cause but by multiplying the unit by 150, you’re only allowing part2 to be 150 studs from the origin. Have you tried making it longer?

it’s a beam so the first part position will be the humanoidrootpart position and the second part position will be the mouse position