With this function you can remove a point from the specified path. Path points are numbered from 0 so the first point is always the 0th point and the last path point will be path_get_number() - 1.
|index||The index of the path to delete a point from.|
|n||The defining point to delete.|
path_delete_point(mypath, path_get_number(mypath) -
This would delete the last point on the path indexed in the variable "mypath".