Is there any way of getting location of a path curve point(vert)?

I am trying to move a point and have it follow the mouse.

bpy.context.active_object.data.splines[0].bezier_points[0].co

1 Like

Does this affect the active point? or are we forced to access them with index?
Thanks!

I know of no other way then looping through all points and checking if they are selected and then accessing the selected one(s) by index.