This script is a comprehensive toolkit for paths.
With this script,
you can convert any point in the path to null,
align the path points,
snap the path points,
get composition or world coordinates and indexes,
remove existing expressions while preserving their shape,
move the midpoint along the Bezier wherever you like,
remove the midpoint while preserving their shape!
After Effects Script