Hi, i’m trying to get the distance between my mouse (position) and a Part (Point).
It seems correct but when i try to print “magn” it gives me the distance between the mouse and the origin(0,0,0).
This is the code
local magn = math.abs((position - Vector3.new(Point.CFrame)).Magnitude)