How do I make editable nodes?

I want to have movable nodes for my custom 2d colliders. How canI make a system where I can click on a node and drag it to reposition the vertex of the collider in the editor? I’ll have to assign it to a value in a List. Is this possible?

Consider class UnityEditor.Handles

I used Handles.PositionHandles in my project.
Just reset Y value to zero if you need to.

point = Handles.PositionHandle (point, Quaternion.identity);
point.y = 0;